#976BCC#976BCC
#976BCC is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.147 H 303.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #976BCC |
|---|---|
| RGB | rgb(151, 107, 204) |
| HSL | hsl(267, 49%, 61%) |
| HSV | hsv(267, 48%, 80%) |
| CMYK | cmyk(26%, 47.5%, 0%, 20%) |
| CIE-LAB | lab(53.44, 36.96, -43.99) |
| CIE-LCH | lch(53.44, 57.46, 310.03°) |
| OKLab | oklab(61.38% 0.0809 -0.1233) |
| OKLCH | oklch(61.38% 0.147 303.3) |
| XYZ | xyz(28.9169, 21.4544, 59.7327) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.16
Mediumpurple
#9370DB
ΔE00 3.31
Amethyst
#9B5FC0
ΔE00 4.21
Deep Lavender
#8D5EB7
ΔE00 5.37
Soft Purple
#A66FB5
ΔE00 7.06
Lighter Purple
#A55AF4
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976BCC #A0CC6B
analogous
#6B6FCC #976BCC #C76BCC
triadic
#976BCC #CC976B #6BCC97
tetradic
#976BCC #CC6B6F #A0CC6B #6BCCC7
square
#976BCC #CC6B6F #A0CC6B #6BCCC7
split-complementary
#976BCC #CCC76B #6FCC6B
monochromatic
#5A308C #7740BA #976BCC #B799DC #D7C6EB
Accessibility & contrast
On white
3.97
#976BCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#976BCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976BCC
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976BCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976BCC | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#8E7C92
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #976bcc; /* rgb */ color: rgb(151, 107, 204); /* oklch */ color: oklch(61.4% 0.147 303.3);
Tailwind
colors: {
custom: {
50: '#b896dc',
500: '#976bcc',
950: '#000000',
},
}SCSS
$custom: #976bcc; $custom-light: #b896dc; $custom-dark: #000000;
JSON
{
"hex": "#976bcc",
"rgb": {
"r": 151,
"g": 107,
"b": 204
},
"hsl": {
"h": 267.216,
"s": 48.744,
"l": 60.98
},
"oklch": {
"l": 0.61381,
"c": 0.14749,
"h": 303.3
},
"luminance": 0.21454
}Semantic roles & 50–950 ramp
primary
#976BCC
secondary
#CBDCB7
accent
#BC297A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83