#996CD7#996CD7
#996CD7 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.160 H 301.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #996CD7 |
|---|---|
| RGB | rgb(153, 108, 215) |
| HSL | hsl(265, 57%, 63%) |
| HSV | hsv(265, 50%, 84%) |
| CMYK | cmyk(28.8%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(54.45, 39.62, -48.63) |
| CIE-LCH | lch(54.45, 62.72, 309.17°) |
| OKLab | oklab(62.37% 0.0832 -0.1368) |
| OKLCH | oklch(62.37% 0.16 301.3) |
| XYZ | xyz(30.7624, 22.4036, 66.9805) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.01
Deep Lilac
#966EBD
ΔE00 4.87
Amethyst
#9B5FC0
ΔE00 5.52
Lighter Purple
#A55AF4
ΔE00 5.91
Light Urple
#B36FF6
ΔE00 6.05
Lightish Purple
#A552E6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#996CD7 #AAD76C
analogous
#6C74D7 #996CD7 #CE6CD7
triadic
#996CD7 #D7996C #6CD799
tetradic
#996CD7 #D76C74 #AAD76C #6CD7CE
square
#996CD7 #D76C74 #AAD76C #6CD7CE
split-complementary
#996CD7 #D7CE6C #74D76C
monochromatic
#5B2B9E #783CCA #996CD7 #BA9CE4 #DCCCF1
Accessibility & contrast
On white
3.83
#996CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#996CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #996CD7
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##996CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##996CD7 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4982DB
Deuteranopia (green-blind)
#5582D4
Tritanopia (blue-blind)
#8D8097
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #996cd7; /* rgb */ color: rgb(153, 108, 215); /* oklch */ color: oklch(62.4% 0.160 301.3);
Tailwind
colors: {
custom: {
50: '#ba97e4',
500: '#996cd7',
950: '#000000',
},
}SCSS
$custom: #996cd7; $custom-light: #ba97e4; $custom-dark: #000000;
JSON
{
"hex": "#996cd7",
"rgb": {
"r": 153,
"g": 108,
"b": 215
},
"hsl": {
"h": 265.234,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.6237,
"c": 0.16011,
"h": 301.3
},
"luminance": 0.22404
}Semantic roles & 50–950 ramp
primary
#996CD7
secondary
#D2E2BC
accent
#C52180
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D15
muted
#817E84