#662EBF#662EBF
#662EBF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.209 H 294.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #662EBF |
|---|---|
| RGB | rgb(102, 46, 191) |
| HSL | hsl(263, 61%, 46%) |
| HSV | hsv(263, 76%, 75%) |
| CMYK | cmyk(46.6%, 75.9%, 0%, 25.1%) |
| CIE-LAB | lab(35.08, 55.07, -66.32) |
| CIE-LCH | lch(35.08, 86.21, 309.71°) |
| OKLab | oklab(46.52% 0.0859 -0.1902) |
| OKLCH | oklch(46.52% 0.209 294.3) |
| XYZ | xyz(15.8579, 8.5399, 50.0930) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.07
Blurple
#5539CC
ΔE00 3.94
Blue With A Hint Of Purple
#533CC6
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 4.36
Burple
#6832E3
ΔE00 4.96
Violet Blue
#510AC9
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662EBF #87BF2E
analogous
#2E3FBF #662EBF #AF2EBF
triadic
#662EBF #BF662E #2EBF66
tetradic
#662EBF #BF2E3F #87BF2E #2EBFAF
square
#662EBF #BF2E3F #87BF2E #2EBFAF
split-complementary
#662EBF #BFAF2E #3FBF2E
monochromatic
#31165C #4C228E #662EBF #8654D6 #A986E2
Accessibility & contrast
On white
7.75
#662EBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#662EBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662EBF
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662EBF | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#4C5575
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #662ebf; /* rgb */ color: rgb(102, 46, 191); /* oklch */ color: oklch(46.5% 0.209 294.3);
Tailwind
colors: {
custom: {
50: '#9a6dd3',
500: '#662ebf',
950: '#000000',
},
}SCSS
$custom: #662ebf; $custom-light: #9a6dd3; $custom-dark: #000000;
JSON
{
"hex": "#662ebf",
"rgb": {
"r": 102,
"g": 46,
"b": 191
},
"hsl": {
"h": 263.172,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.46523,
"c": 0.20868,
"h": 294.3
},
"luminance": 0.0854
}Semantic roles & 50–950 ramp
primary
#662EBF
secondary
#ADCB7E
accent
#E444A6
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83