#9966EF#9966EF
#9966EF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.198 H 297.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9966EF |
|---|---|
| RGB | rgb(153, 102, 239) |
| HSL | hsl(262, 81%, 67%) |
| HSV | hsv(262, 57%, 94%) |
| CMYK | cmyk(36%, 57.3%, 0%, 6.3%) |
| CIE-LAB | lab(54.56, 48.92, -61.94) |
| CIE-LCH | lch(54.56, 78.93, 308.30°) |
| OKLab | oklab(62.9% 0.0918 -0.1758) |
| OKLCH | oklch(62.9% 0.198 297.6) |
| XYZ | xyz(33.4643, 22.5066, 84.2257) |
| Luminance | 0.2251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.23
Mediumpurple
#9370DB
ΔE00 4.02
Lightish Purple
#A552E6
ΔE00 5.27
Light Urple
#B36FF6
ΔE00 5.36
Mediumslateblue
#7B68EE
ΔE00 5.50
Purpley
#8756E4
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9966EF #BCEF66
analogous
#6678EF #9966EF #DE66EF
triadic
#9966EF #EF9966 #66EF99
tetradic
#9966EF #EF6678 #BCEF66 #66EFDE
square
#9966EF #EF6678 #BCEF66 #66EFDE
split-complementary
#9966EF #EFDE66 #78EF66
monochromatic
#5715C6 #742FE9 #9966EF #BE9DF5 #E3D5FB
Accessibility & contrast
On white
3.82
#9966EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#9966EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9966EF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9966EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9966EF | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#3481EC
Tritanopia (blue-blind)
#8583A1
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #9966ef; /* rgb */ color: rgb(153, 102, 239); /* oklch */ color: oklch(62.9% 0.198 297.6);
Tailwind
colors: {
custom: {
50: '#bc93f5',
500: '#9966ef',
950: '#000000',
},
}SCSS
$custom: #9966ef; $custom-light: #bc93f5; $custom-dark: #000000;
JSON
{
"hex": "#9966ef",
"rgb": {
"r": 153,
"g": 102,
"b": 239
},
"hsl": {
"h": 262.336,
"s": 81.065,
"l": 66.863
},
"oklch": {
"l": 0.62897,
"c": 0.19832,
"h": 297.6
},
"luminance": 0.22507
}Semantic roles & 50–950 ramp
primary
#9966EF
secondary
#DEEEC2
accent
#DD088E
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85