#9A66EF#9A66EF
#9A66EF is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.198 H 298.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9A66EF |
|---|---|
| RGB | rgb(154, 102, 239) |
| HSL | hsl(263, 81%, 67%) |
| HSV | hsv(263, 57%, 94%) |
| CMYK | cmyk(35.6%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(54.66, 49.15, -61.77) |
| CIE-LCH | lch(54.66, 78.94, 308.51°) |
| OKLab | oklab(63% 0.0931 -0.1753) |
| OKLCH | oklch(63% 0.198 298) |
| XYZ | xyz(33.6539, 22.6043, 84.2346) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.13
Mediumpurple
#9370DB
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 5.20
Lightish Purple
#A552E6
ΔE00 5.20
Mediumslateblue
#7B68EE
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A66EF #BBEF66
analogous
#6677EF #9A66EF #DF66EF
triadic
#9A66EF #EF9A66 #66EF9A
tetradic
#9A66EF #EF6677 #BBEF66 #66EFDF
square
#9A66EF #EF6677 #BBEF66 #66EFDF
split-complementary
#9A66EF #EFDF66 #77EF66
monochromatic
#5815C6 #752FE9 #9A66EF #BF9DF5 #E3D5FB
Accessibility & contrast
On white
3.80
#9A66EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#9A66EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A66EF
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A66EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A66EF | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D83F3
Deuteranopia (green-blind)
#3681EC
Tritanopia (blue-blind)
#8783A1
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9a66ef; /* rgb */ color: rgb(154, 102, 239); /* oklch */ color: oklch(63.0% 0.198 298.0);
Tailwind
colors: {
custom: {
50: '#bc93f5',
500: '#9a66ef',
950: '#000000',
},
}SCSS
$custom: #9a66ef; $custom-light: #bc93f5; $custom-dark: #000000;
JSON
{
"hex": "#9a66ef",
"rgb": {
"r": 154,
"g": 102,
"b": 239
},
"hsl": {
"h": 262.774,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.62995,
"c": 0.19844,
"h": 298
},
"luminance": 0.22605
}Semantic roles & 50–950 ramp
primary
#9A66EF
secondary
#DEEEC2
accent
#DD088C
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85