#996FEF#996FEF
#996FEF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.3% C 0.185 H 295.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #996FEF |
|---|---|
| RGB | rgb(153, 111, 239) |
| HSL | hsl(260, 80%, 69%) |
| HSV | hsv(260, 54%, 94%) |
| CMYK | cmyk(36%, 53.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.46, 43.99, -58.89) |
| CIE-LCH | lch(56.46, 73.51, 306.76°) |
| OKLab | oklab(64.3% 0.081 -0.1668) |
| OKLCH | oklch(64.3% 0.185 295.9) |
| XYZ | xyz(34.3973, 24.3726, 84.5367) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.08
Light Urple
#B36FF6
ΔE00 4.76
Lighter Purple
#A55AF4
ΔE00 5.27
Mediumslateblue
#7B68EE
ΔE00 5.79
Periwinkle (survey)
#8E82FE
ΔE00 6.56
Easter Purple
#C071FE
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#996FEF #C5EF6F
analogous
#6F85EF #996FEF #D96FEF
triadic
#996FEF #EF996F #6FEF99
tetradic
#996FEF #EF6F85 #C5EF6F #6FEFD9
square
#996FEF #EF6F85 #C5EF6F #6FEFD9
split-complementary
#996FEF #EFD96F #85EF6F
monochromatic
#5317CD #7238E9 #996FEF #C0A6F5 #E7DDFB
Accessibility & contrast
On white
3.57
#996FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#996FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #996FEF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##996FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##996FEF | 1.00 | 3.57 | 5.87 | 5.87 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3888F3
Deuteranopia (green-blind)
#4486EC
Tritanopia (blue-blind)
#8589A4
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #996fef; /* rgb */ color: rgb(153, 111, 239); /* oklch */ color: oklch(64.3% 0.185 295.9);
Tailwind
colors: {
custom: {
50: '#bb99f5',
500: '#996fef',
950: '#000000',
},
}SCSS
$custom: #996fef; $custom-light: #bb99f5; $custom-dark: #000000;
JSON
{
"hex": "#996fef",
"rgb": {
"r": 153,
"g": 111,
"b": 239
},
"hsl": {
"h": 259.688,
"s": 80,
"l": 68.627
},
"oklch": {
"l": 0.64295,
"c": 0.18546,
"h": 295.9
},
"luminance": 0.24373
}Semantic roles & 50–950 ramp
primary
#996FEF
secondary
#E3F0CA
accent
#DC0997
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85