#996CC7#996CC7
#996CC7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.5% C 0.140 H 305.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #996CC7 |
|---|---|
| RGB | rgb(153, 108, 199) |
| HSL | hsl(270, 45%, 60%) |
| HSV | hsv(270, 46%, 78%) |
| CMYK | cmyk(23.1%, 45.7%, 0%, 22%) |
| CIE-LAB | lab(53.62, 35.76, -40.85) |
| CIE-LCH | lch(53.62, 54.29, 311.20°) |
| OKLab | oklab(61.48% 0.0813 -0.1141) |
| OKLCH | oklch(61.48% 0.14 305.5) |
| XYZ | xyz(28.8061, 21.6211, 56.6775) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.10
Amethyst
#9B5FC0
ΔE00 3.95
Mediumpurple
#9370DB
ΔE00 4.32
Deep Lavender
#8D5EB7
ΔE00 5.28
Soft Purple
#A66FB5
ΔE00 5.87
Wisteria
#A87DC2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#996CC7 #9AC76C
analogous
#6C6CC7 #996CC7 #C66CC7
triadic
#996CC7 #C7996C #6CC799
tetradic
#996CC7 #C76C6C #9AC76C #6CC7C6
square
#996CC7 #C76C6C #9AC76C #6CC7C6
split-complementary
#996CC7 #C7C66C #6CC76C
monochromatic
#5C3386 #7A44B2 #996CC7 #B898D8 #D7C5E9
Accessibility & contrast
On white
3.94
#996CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#996CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #996CC7
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##996CC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##996CC7 | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#547FCA
Deuteranopia (green-blind)
#6080C5
Tritanopia (blue-blind)
#927B90
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #996cc7; /* rgb */ color: rgb(153, 108, 199); /* oklch */ color: oklch(61.5% 0.140 305.5);
Tailwind
colors: {
custom: {
50: '#b997d8',
500: '#996cc7',
950: '#000000',
},
}SCSS
$custom: #996cc7; $custom-light: #b997d8; $custom-dark: #000000;
JSON
{
"hex": "#996cc7",
"rgb": {
"r": 153,
"g": 108,
"b": 199
},
"hsl": {
"h": 269.67,
"s": 44.828,
"l": 60.196
},
"oklch": {
"l": 0.6148,
"c": 0.14012,
"h": 305.5
},
"luminance": 0.21621
}Semantic roles & 50–950 ramp
primary
#996CC7
secondary
#C8D9B6
accent
#B82E74
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83