#9976E4#9976E4
#9976E4 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.8% C 0.161 H 296.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9976E4 |
|---|---|
| RGB | rgb(153, 118, 228) |
| HSL | hsl(259, 67%, 68%) |
| HSV | hsv(259, 48%, 89%) |
| CMYK | cmyk(32.9%, 48.2%, 0%, 10.6%) |
| CIE-LAB | lab(57.40, 37.23, -51.26) |
| CIE-LCH | lch(57.40, 63.35, 305.99°) |
| OKLab | oklab(64.79% 0.0714 -0.1445) |
| OKLCH | oklch(64.79% 0.161 296.3) |
| XYZ | xyz(33.6154, 25.3301, 76.5019) |
| Luminance | 0.2533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.29
Light Urple
#B36FF6
ΔE00 5.39
Periwinkle (survey)
#8E82FE
ΔE00 6.16
Mediumslateblue
#7B68EE
ΔE00 7.10
Light Purple
#BF77F6
ΔE00 7.15
Deep Lilac
#966EBD
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9976E4 #C1E476
analogous
#768AE4 #9976E4 #D076E4
triadic
#9976E4 #E49976 #76E499
tetradic
#9976E4 #E4768A #C1E476 #76E4D0
square
#9976E4 #E4768A #C1E476 #76E4D0
split-complementary
#9976E4 #E4D076 #8AE476
monochromatic
#5525BB #7343DA #9976E4 #BFA9EE #E5DCF8
Accessibility & contrast
On white
3.46
#9976E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#9976E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9976E4
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9976E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9976E4 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#5788E1
Tritanopia (blue-blind)
#888BA2
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9976e4; /* rgb */ color: rgb(153, 118, 228); /* oklch */ color: oklch(64.8% 0.161 296.3);
Tailwind
colors: {
custom: {
50: '#ba9eed',
500: '#9976e4',
950: '#000000',
},
}SCSS
$custom: #9976e4; $custom-light: #ba9eed; $custom-dark: #000000;
JSON
{
"hex": "#9976e4",
"rgb": {
"r": 153,
"g": 118,
"b": 228
},
"hsl": {
"h": 259.091,
"s": 67.073,
"l": 67.843
},
"oklch": {
"l": 0.64793,
"c": 0.16114,
"h": 296.3
},
"luminance": 0.25331
}Semantic roles & 50–950 ramp
primary
#9976E4
secondary
#E1ECCA
accent
#CF1794
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84