#976CB8#976CB8
#976CB8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.121 H 309.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #976CB8 |
|---|---|
| RGB | rgb(151, 108, 184) |
| HSL | hsl(274, 35%, 57%) |
| HSV | hsv(274, 41%, 72%) |
| CMYK | cmyk(17.9%, 41.3%, 0%, 27.8%) |
| CIE-LAB | lab(52.69, 31.68, -33.71) |
| CIE-LCH | lch(52.69, 46.26, 313.22°) |
| OKLab | oklab(60.5% 0.0763 -0.0935) |
| OKLCH | oklch(60.5% 0.121 309.2) |
| XYZ | xyz(26.7752, 20.7655, 47.9357) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.26
Soft Purple
#A66FB5
ΔE00 4.04
Amethyst
#9B5FC0
ΔE00 4.36
Deep Lavender
#8D5EB7
ΔE00 5.00
Dark Lilac
#9C6DA5
ΔE00 5.22
Wisteria
#A87DC2
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976CB8 #8DB86C
analogous
#716CB8 #976CB8 #B86CB3
triadic
#976CB8 #B8976C #6CB897
tetradic
#976CB8 #B8716C #8DB86C #6CB3B8
square
#976CB8 #B8716C #8DB86C #6CB3B8
split-complementary
#976CB8 #B3B86C #6CB871
monochromatic
#593772 #794B9C #976CB8 #B495CC #D1BFE0
Accessibility & contrast
On white
4.08
#976CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#976CB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976CB8
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976CB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976CB8 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#667EB6
Tritanopia (blue-blind)
#937789
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #976cb8; /* rgb */ color: rgb(151, 108, 184); /* oklch */ color: oklch(60.5% 0.121 309.2);
Tailwind
colors: {
custom: {
50: '#b797cd',
500: '#976cb8',
950: '#000000',
},
}SCSS
$custom: #976cb8; $custom-light: #b797cd; $custom-dark: #000000;
JSON
{
"hex": "#976cb8",
"rgb": {
"r": 151,
"g": 108,
"b": 184
},
"hsl": {
"h": 273.947,
"s": 34.862,
"l": 57.255
},
"oklch": {
"l": 0.60497,
"c": 0.12069,
"h": 309.2
},
"luminance": 0.20765
}Semantic roles & 50–950 ramp
primary
#976CB8
secondary
#BECFB1
accent
#CB5D8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82