#976CEF#976CEF
#976CEF is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.6% C 0.190 H 295.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #976CEF |
|---|---|
| RGB | rgb(151, 108, 239) |
| HSL | hsl(260, 80%, 68%) |
| HSV | hsv(260, 55%, 94%) |
| CMYK | cmyk(36.8%, 54.8%, 0%, 6.3%) |
| CIE-LAB | lab(55.62, 45.19, -60.25) |
| CIE-LCH | lch(55.62, 75.31, 306.87°) |
| OKLab | oklab(63.63% 0.0821 -0.1709) |
| OKLCH | oklch(63.63% 0.19 295.7) |
| XYZ | xyz(33.7010, 23.5358, 84.4119) |
| Luminance | 0.2354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.21
Lighter Purple
#A55AF4
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 5.20
Mediumslateblue
#7B68EE
ΔE00 5.22
Lightish Purple
#A552E6
ΔE00 6.81
Purpley
#8756E4
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976CEF #C4EF6C
analogous
#6C82EF #976CEF #D96CEF
triadic
#976CEF #EF976C #6CEF97
tetradic
#976CEF #EF6C82 #C4EF6C #6CEFD9
square
#976CEF #EF6C82 #C4EF6C #6CEFD9
split-complementary
#976CEF #EFD96C #82EF6C
monochromatic
#5116CB #7035E9 #976CEF #BEA3F5 #E5DAFB
Accessibility & contrast
On white
3.68
#976CEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#976CEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976CEF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976CEF | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#3D83EC
Tritanopia (blue-blind)
#8287A3
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #976cef; /* rgb */ color: rgb(151, 108, 239); /* oklch */ color: oklch(63.6% 0.190 295.7);
Tailwind
colors: {
custom: {
50: '#ba97f5',
500: '#976cef',
950: '#000000',
},
}SCSS
$custom: #976cef; $custom-light: #ba97f5; $custom-dark: #000000;
JSON
{
"hex": "#976cef",
"rgb": {
"r": 151,
"g": 108,
"b": 239
},
"hsl": {
"h": 259.695,
"s": 80.368,
"l": 68.039
},
"oklch": {
"l": 0.6363,
"c": 0.18959,
"h": 295.7
},
"luminance": 0.23536
}Semantic roles & 50–950 ramp
primary
#976CEF
secondary
#E2EFC7
accent
#DD0997
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85