#665fcc
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #665fcc | |
| RGB | rgb(102 95 204) | |
| HSL | hsl(243.85 51.66% 58.63%) | |
| OKLCH | oklch(0.55 0.16 282.47) | |
| CMYK | cmyk(50% 53.43% 0% 20%) | |
| Android | #ff665fcc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.07:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#665fcc"
Gradient stop
<stop stop-color="#665fcc"/>
CSS variable + fill
:root { --c: #665fcc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #665fcc; background-color: #665fcc; bg-[#665fcc]