#976FCB#976FCB
#976FCB is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.140 H 302.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #976FCB |
|---|---|
| RGB | rgb(151, 111, 203) |
| HSL | hsl(266, 47%, 62%) |
| HSV | hsv(266, 45%, 80%) |
| CMYK | cmyk(25.6%, 45.3%, 0%, 20.4%) |
| CIE-LAB | lab(54.30, 34.45, -42.07) |
| CIE-LCH | lch(54.30, 54.37, 309.31°) |
| OKLab | oklab(62.01% 0.0753 -0.1177) |
| OKLCH | oklch(62.01% 0.14 302.6) |
| XYZ | xyz(29.2241, 22.2600, 59.2453) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.72
Mediumpurple
#9370DB
ΔE00 3.23
Amethyst
#9B5FC0
ΔE00 5.14
Deep Lavender
#8D5EB7
ΔE00 6.18
Wisteria
#A87DC2
ΔE00 6.70
Soft Purple
#A66FB5
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976FCB #A3CB6F
analogous
#6F75CB #976FCB #C56FCB
triadic
#976FCB #CB976F #6FCB97
tetradic
#976FCB #CB6F75 #A3CB6F #6FCBC5
square
#976FCB #CB6F75 #A3CB6F #6FCBC5
split-complementary
#976FCB #CBC56F #75CB6F
monochromatic
#5A338D #7743BA #976FCB #B79CDB #D8C9EB
Accessibility & contrast
On white
3.85
#976FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#976FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976FCB
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976FCB | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#8E7F93
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #976fcb; /* rgb */ color: rgb(151, 111, 203); /* oklch */ color: oklch(62.0% 0.140 302.6);
Tailwind
colors: {
custom: {
50: '#b899db',
500: '#976fcb',
950: '#000000',
},
}SCSS
$custom: #976fcb; $custom-light: #b899db; $custom-dark: #000000;
JSON
{
"hex": "#976fcb",
"rgb": {
"r": 151,
"g": 111,
"b": 203
},
"hsl": {
"h": 266.087,
"s": 46.939,
"l": 61.569
},
"oklch": {
"l": 0.62007,
"c": 0.13971,
"h": 302.6
},
"luminance": 0.2226
}Semantic roles & 50–950 ramp
primary
#976FCB
secondary
#CDDCBA
accent
#BA2B7C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83