#9D66E7#9D66E7
#9D66E7 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.8% C 0.189 H 300.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9D66E7 |
|---|---|
| RGB | rgb(157, 102, 231) |
| HSL | hsl(266, 73%, 65%) |
| HSV | hsv(266, 56%, 91%) |
| CMYK | cmyk(32%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(54.49, 47.85, -57.55) |
| CIE-LCH | lch(54.49, 74.85, 309.74°) |
| OKLab | oklab(62.79% 0.0968 -0.1628) |
| OKLCH | oklch(62.79% 0.189 300.7) |
| XYZ | xyz(33.0764, 22.4402, 78.1746) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.17
Mediumpurple
#9370DB
ΔE00 3.63
Lightish Purple
#A552E6
ΔE00 4.68
Light Urple
#B36FF6
ΔE00 4.92
Purpley
#8756E4
ΔE00 6.16
Mediumslateblue
#7B68EE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D66E7 #B0E766
analogous
#6670E7 #9D66E7 #DD66E7
triadic
#9D66E7 #E79D66 #66E79D
tetradic
#9D66E7 #E76670 #B0E766 #66E7DD
square
#9D66E7 #E76670 #B0E766 #66E7DD
split-complementary
#9D66E7 #E7DD66 #70E766
monochromatic
#5E1DB6 #7B31DF #9D66E7 #BF9BEF #E1D0F8
Accessibility & contrast
On white
3.83
#9D66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#9D66E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D66E7
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D66E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D66E7 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#4382E4
Tritanopia (blue-blind)
#8E809D
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9d66e7; /* rgb */ color: rgb(157, 102, 231); /* oklch */ color: oklch(62.8% 0.189 300.7);
Tailwind
colors: {
custom: {
50: '#be93ef',
500: '#9d66e7',
950: '#000000',
},
}SCSS
$custom: #9d66e7; $custom-light: #be93ef; $custom-dark: #000000;
JSON
{
"hex": "#9d66e7",
"rgb": {
"r": 157,
"g": 102,
"b": 231
},
"hsl": {
"h": 265.581,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.62786,
"c": 0.18941,
"h": 300.7
},
"luminance": 0.2244
}Semantic roles & 50–950 ramp
primary
#9D66E7
secondary
#D8EABF
accent
#D51181
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84