#662CCF#662CCF
#662CCF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.228 H 291.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #662CCF |
|---|---|
| RGB | rgb(102, 44, 207) |
| HSL | hsl(261, 65%, 49%) |
| HSV | hsv(261, 79%, 81%) |
| CMYK | cmyk(50.7%, 78.7%, 0%, 18.8%) |
| CIE-LAB | lab(36.23, 60.05, -73.77) |
| CIE-LCH | lch(36.23, 95.13, 309.15°) |
| OKLab | oklab(47.77% 0.0828 -0.212) |
| OKLCH | oklch(47.77% 0.228 291.3) |
| XYZ | xyz(17.6394, 9.1304, 59.8523) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.18
Burple
#6832E3
ΔE00 3.05
Blurple
#5539CC
ΔE00 3.36
Purpley Blue
#5F34E7
ΔE00 3.67
Purply Blue
#661AEE
ΔE00 3.73
Blue Violet
#5D06E9
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662CCF #95CF2C
analogous
#2C43CF #662CCF #B82CCF
triadic
#662CCF #CF662C #2CCF66
tetradic
#662CCF #CF2C43 #95CF2C #2CCFB8
square
#662CCF #CF2C43 #95CF2C #2CCFB8
split-complementary
#662CCF #CFB82C #43CF2C
monochromatic
#34176A #4D219D #662CCF #8A5CDC #AE8EE7
Accessibility & contrast
On white
7.43
#662CCF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#662CCF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662CCF
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662CCF | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#415B7E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #662ccf; /* rgb */ color: rgb(102, 44, 207); /* oklch */ color: oklch(47.8% 0.228 291.3);
Tailwind
colors: {
custom: {
50: '#9c6ddf',
500: '#662ccf',
950: '#000000',
},
}SCSS
$custom: #662ccf; $custom-light: #9c6ddf; $custom-dark: #000000;
JSON
{
"hex": "#662ccf",
"rgb": {
"r": 102,
"g": 44,
"b": 207
},
"hsl": {
"h": 261.35,
"s": 64.94,
"l": 49.216
},
"oklch": {
"l": 0.47768,
"c": 0.22759,
"h": 291.3
},
"luminance": 0.09131
}Semantic roles & 50–950 ramp
primary
#662CCF
secondary
#B6D185
accent
#E840AC
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83