#9E66EB#9E66EB
#9E66EB is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.194 H 300.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #9E66EB |
|---|---|
| RGB | rgb(158, 102, 235) |
| HSL | hsl(265, 77%, 66%) |
| HSV | hsv(265, 57%, 92%) |
| CMYK | cmyk(32.8%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(54.83, 49.07, -59.24) |
| CIE-LCH | lch(54.83, 76.92, 309.64°) |
| OKLab | oklab(63.14% 0.0981 -0.1677) |
| OKLCH | oklch(63.14% 0.194 300.3) |
| XYZ | xyz(33.8437, 22.7698, 81.1931) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.91
Mediumpurple
#9370DB
ΔE00 3.94
Light Urple
#B36FF6
ΔE00 4.63
Lightish Purple
#A552E6
ΔE00 4.78
Purpley
#8756E4
ΔE00 6.32
Mediumslateblue
#7B68EE
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E66EB #B3EB66
analogous
#6670EB #9E66EB #E066EB
triadic
#9E66EB #EB9E66 #66EB9E
tetradic
#9E66EB #EB6670 #B3EB66 #66EBE0
square
#9E66EB #EB6670 #B3EB66 #66EBE0
split-complementary
#9E66EB #EBE066 #70EB66
monochromatic
#5E19BE #7C30E4 #9E66EB #C09CF2 #E3D2F9
Accessibility & contrast
On white
3.78
#9E66EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#9E66EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E66EB
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E66EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E66EB | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#8E819F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9e66eb; /* rgb */ color: rgb(158, 102, 235); /* oklch */ color: oklch(63.1% 0.194 300.3);
Tailwind
colors: {
custom: {
50: '#bf94f2',
500: '#9e66eb',
950: '#000000',
},
}SCSS
$custom: #9e66eb; $custom-light: #bf94f2; $custom-dark: #000000;
JSON
{
"hex": "#9e66eb",
"rgb": {
"r": 158,
"g": 102,
"b": 235
},
"hsl": {
"h": 265.263,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.63139,
"c": 0.1943,
"h": 300.3
},
"luminance": 0.2277
}Semantic roles & 50–950 ramp
primary
#9E66EB
secondary
#DAECC1
accent
#D90C83
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85