#996CEF#996CEF
#996CEF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.190 H 296.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #996CEF |
|---|---|
| RGB | rgb(153, 108, 239) |
| HSL | hsl(261, 80%, 68%) |
| HSV | hsv(261, 55%, 94%) |
| CMYK | cmyk(36%, 54.8%, 0%, 6.3%) |
| CIE-LAB | lab(55.82, 45.65, -59.92) |
| CIE-LCH | lch(55.82, 75.33, 307.30°) |
| OKLab | oklab(63.82% 0.0846 -0.1699) |
| OKLCH | oklch(63.82% 0.19 296.5) |
| XYZ | xyz(34.0755, 23.7289, 84.4295) |
| Luminance | 0.2373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.25
Lighter Purple
#A55AF4
ΔE00 4.54
Light Urple
#B36FF6
ΔE00 4.84
Mediumslateblue
#7B68EE
ΔE00 5.59
Lightish Purple
#A552E6
ΔE00 6.67
Purpley
#8756E4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#996CEF #C2EF6C
analogous
#6C80EF #996CEF #DB6CEF
triadic
#996CEF #EF996C #6CEF99
tetradic
#996CEF #EF6C80 #C2EF6C #6CEFDB
square
#996CEF #EF6C80 #C2EF6C #6CEFDB
split-complementary
#996CEF #EFDB6C #80EF6C
monochromatic
#5416CB #7335E9 #996CEF #BFA3F5 #E6DAFB
Accessibility & contrast
On white
3.65
#996CEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#996CEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #996CEF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##996CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##996CEF | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#8587A3
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #996cef; /* rgb */ color: rgb(153, 108, 239); /* oklch */ color: oklch(63.8% 0.190 296.5);
Tailwind
colors: {
custom: {
50: '#bb97f5',
500: '#996cef',
950: '#000000',
},
}SCSS
$custom: #996cef; $custom-light: #bb97f5; $custom-dark: #000000;
JSON
{
"hex": "#996cef",
"rgb": {
"r": 153,
"g": 108,
"b": 239
},
"hsl": {
"h": 260.611,
"s": 80.368,
"l": 68.039
},
"oklch": {
"l": 0.6382,
"c": 0.18978,
"h": 296.5
},
"luminance": 0.23729
}Semantic roles & 50–950 ramp
primary
#996CEF
secondary
#E2EFC7
accent
#DD0994
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85