#9D66EF#9D66EF
#9D66EF is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.199 H 299.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9D66EF |
|---|---|
| RGB | rgb(157, 102, 239) |
| HSL | hsl(264, 81%, 67%) |
| HSV | hsv(264, 57%, 94%) |
| CMYK | cmyk(34.3%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(54.97, 49.83, -61.25) |
| CIE-LCH | lch(54.97, 78.96, 309.13°) |
| OKLab | oklab(63.29% 0.0969 -0.1737) |
| OKLCH | oklch(63.29% 0.199 299.2) |
| XYZ | xyz(34.2322, 22.9025, 84.2617) |
| Luminance | 0.2290 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.88
Mediumpurple
#9370DB
ΔE00 4.17
Light Urple
#B36FF6
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 5.03
Mediumslateblue
#7B68EE
ΔE00 6.25
Purpley
#8756E4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D66EF #B8EF66
analogous
#6674EF #9D66EF #E266EF
triadic
#9D66EF #EF9D66 #66EF9D
tetradic
#9D66EF #EF6674 #B8EF66 #66EFE2
square
#9D66EF #EF6674 #B8EF66 #66EFE2
split-complementary
#9D66EF #EFE266 #74EF66
monochromatic
#5C15C6 #7A2FE9 #9D66EF #C09DF5 #E4D5FB
Accessibility & contrast
On white
3.76
#9D66EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#9D66EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D66EF
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D66EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D66EF | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2083F3
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#8B82A1
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9d66ef; /* rgb */ color: rgb(157, 102, 239); /* oklch */ color: oklch(63.3% 0.199 299.2);
Tailwind
colors: {
custom: {
50: '#be94f5',
500: '#9d66ef',
950: '#000000',
},
}SCSS
$custom: #9d66ef; $custom-light: #be94f5; $custom-dark: #000000;
JSON
{
"hex": "#9d66ef",
"rgb": {
"r": 157,
"g": 102,
"b": 239
},
"hsl": {
"h": 264.088,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.63293,
"c": 0.19885,
"h": 299.2
},
"luminance": 0.22903
}Semantic roles & 50–950 ramp
primary
#9D66EF
secondary
#DDEEC2
accent
#DD0888
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85