#976FCA#976FCA
#976FCA is a mid, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.138 H 302.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #976FCA |
|---|---|
| RGB | rgb(151, 111, 202) |
| HSL | hsl(266, 46%, 61%) |
| HSV | hsv(266, 45%, 79%) |
| CMYK | cmyk(25.2%, 45%, 0%, 20.8%) |
| CIE-LAB | lab(54.25, 34.20, -41.58) |
| CIE-LCH | lch(54.25, 53.84, 309.44°) |
| OKLab | oklab(61.95% 0.0751 -0.1163) |
| OKLCH | oklch(61.95% 0.138 302.9) |
| XYZ | xyz(29.1053, 22.2125, 58.6198) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.53
Mediumpurple
#9370DB
ΔE00 3.42
Amethyst
#9B5FC0
ΔE00 5.08
Deep Lavender
#8D5EB7
ΔE00 6.10
Soft Purple
#A66FB5
ΔE00 6.56
Wisteria
#A87DC2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976FCA #A2CA6F
analogous
#6F75CA #976FCA #C56FCA
triadic
#976FCA #CA976F #6FCA97
tetradic
#976FCA #CA6F75 #A2CA6F #6FCAC5
square
#976FCA #CA6F75 #A2CA6F #6FCAC5
split-complementary
#976FCA #CAC56F #75CA6F
monochromatic
#5A338B #7744B8 #976FCA #B79CDA #D8C8EB
Accessibility & contrast
On white
3.86
#976FCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#976FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976FCA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976FCA | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#8E7F93
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #976fca; /* rgb */ color: rgb(151, 111, 202); /* oklch */ color: oklch(62.0% 0.138 302.9);
Tailwind
colors: {
custom: {
50: '#b799da',
500: '#976fca',
950: '#000000',
},
}SCSS
$custom: #976fca; $custom-light: #b799da; $custom-dark: #000000;
JSON
{
"hex": "#976fca",
"rgb": {
"r": 151,
"g": 111,
"b": 202
},
"hsl": {
"h": 266.374,
"s": 46.193,
"l": 61.373
},
"oklch": {
"l": 0.61953,
"c": 0.13843,
"h": 302.9
},
"luminance": 0.22212
}Semantic roles & 50–950 ramp
primary
#976FCA
secondary
#CCDBB9
accent
#B92C7B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83