#996CDF#996CDF
#996CDF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.170 H 299.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #996CDF |
|---|---|
| RGB | rgb(153, 108, 223) |
| HSL | hsl(263, 64%, 65%) |
| HSV | hsv(263, 52%, 87%) |
| CMYK | cmyk(31.4%, 51.6%, 0%, 12.5%) |
| CIE-LAB | lab(54.89, 41.60, -52.44) |
| CIE-LCH | lch(54.89, 66.94, 308.42°) |
| OKLab | oklab(62.84% 0.0839 -0.1479) |
| OKLCH | oklch(62.84% 0.17 299.6) |
| XYZ | xyz(31.8155, 22.8249, 72.5272) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.74
Lighter Purple
#A55AF4
ΔE00 5.16
Light Urple
#B36FF6
ΔE00 5.39
Deep Lilac
#966EBD
ΔE00 6.17
Lightish Purple
#A552E6
ΔE00 6.36
Mediumslateblue
#7B68EE
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#996CDF #B2DF6C
analogous
#6C79DF #996CDF #D26CDF
triadic
#996CDF #DF996C #6CDF99
tetradic
#996CDF #DF6C79 #B2DF6C #6CDFD2
square
#996CDF #DF6C79 #B2DF6C #6CDFD2
split-complementary
#996CDF #DFD26C #79DF6C
monochromatic
#5A25AB #763AD4 #996CDF #BC9EEA #DFD1F5
Accessibility & contrast
On white
3.77
#996CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#996CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #996CDF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##996CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##996CDF | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#4F82DC
Tritanopia (blue-blind)
#8B829B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #996cdf; /* rgb */ color: rgb(153, 108, 223); /* oklch */ color: oklch(62.8% 0.170 299.6);
Tailwind
colors: {
custom: {
50: '#ba97e9',
500: '#996cdf',
950: '#000000',
},
}SCSS
$custom: #996cdf; $custom-light: #ba97e9; $custom-dark: #000000;
JSON
{
"hex": "#996cdf",
"rgb": {
"r": 153,
"g": 108,
"b": 223
},
"hsl": {
"h": 263.478,
"s": 64.246,
"l": 64.902
},
"oklch": {
"l": 0.62838,
"c": 0.17006,
"h": 299.6
},
"luminance": 0.22825
}Semantic roles & 50–950 ramp
primary
#996CDF
secondary
#D8E7C0
accent
#CC1986
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84