#976DF2#976DF2
#976DF2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.0% C 0.192 H 295.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #976DF2 |
|---|---|
| RGB | rgb(151, 109, 242) |
| HSL | hsl(259, 84%, 69%) |
| HSV | hsv(259, 55%, 95%) |
| CMYK | cmyk(37.6%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(56.01, 45.41, -61.28) |
| CIE-LCH | lch(56.01, 76.27, 306.54°) |
| OKLab | oklab(63.98% 0.081 -0.1739) |
| OKLCH | oklch(63.98% 0.192 295) |
| XYZ | xyz(34.2540, 23.9267, 86.8008) |
| Luminance | 0.2393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.54
Lighter Purple
#A55AF4
ΔE00 4.97
Light Urple
#B36FF6
ΔE00 5.18
Mediumslateblue
#7B68EE
ΔE00 5.23
Periwinkle (survey)
#8E82FE
ΔE00 6.69
Lightish Purple
#A552E6
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976DF2 #C8F26D
analogous
#6D86F2 #976DF2 #D96DF2
triadic
#976DF2 #F2976D #6DF297
tetradic
#976DF2 #F26D86 #C8F26D #6DF2D9
square
#976DF2 #F26D86 #C8F26D #6DF2D9
split-complementary
#976DF2 #F2D96D #86F26D
monochromatic
#4F13D2 #6F35ED #976DF2 #BFA5F7 #E7DDFC
Accessibility & contrast
On white
3.63
#976DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#976DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976DF2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976DF2 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D87F6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#8189A5
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #976df2; /* rgb */ color: rgb(151, 109, 242); /* oklch */ color: oklch(64.0% 0.192 295.0);
Tailwind
colors: {
custom: {
50: '#ba98f7',
500: '#976df2',
950: '#000000',
},
}SCSS
$custom: #976df2; $custom-light: #ba98f7; $custom-dark: #000000;
JSON
{
"hex": "#976df2",
"rgb": {
"r": 151,
"g": 109,
"b": 242
},
"hsl": {
"h": 258.947,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.63979,
"c": 0.19187,
"h": 295
},
"luminance": 0.23927
}Semantic roles & 50–950 ramp
primary
#976DF2
secondary
#E5F1CA
accent
#E0059B
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85