#976AC7#976AC7
#976AC7 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.143 H 304.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #976AC7 |
|---|---|
| RGB | rgb(151, 106, 199) |
| HSL | hsl(269, 45%, 60%) |
| HSV | hsv(269, 47%, 78%) |
| CMYK | cmyk(24.1%, 46.7%, 0%, 22%) |
| CIE-LAB | lab(52.96, 36.33, -41.90) |
| CIE-LCH | lch(52.96, 55.46, 310.92°) |
| OKLab | oklab(60.94% 0.0817 -0.1172) |
| OKLCH | oklch(60.94% 0.143 304.9) |
| XYZ | xyz(28.2232, 21.0110, 56.5904) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.46
Amethyst
#9B5FC0
ΔE00 3.54
Mediumpurple
#9370DB
ΔE00 4.24
Deep Lavender
#8D5EB7
ΔE00 4.69
Soft Purple
#A66FB5
ΔE00 6.38
Wisteria
#A87DC2
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976AC7 #9AC76A
analogous
#6A6CC7 #976AC7 #C56AC7
triadic
#976AC7 #C7976A #6AC797
tetradic
#976AC7 #C76A6C #9AC76A #6AC7C5
square
#976AC7 #C76A6C #9AC76A #6AC7C5
split-complementary
#976AC7 #C7C56A #6CC76A
monochromatic
#5A3285 #7843B1 #976AC7 #B696D8 #D5C3E8
Accessibility & contrast
On white
4.04
#976AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#976AC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976AC7
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976AC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976AC7 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#8F7A8F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #976ac7; /* rgb */ color: rgb(151, 106, 199); /* oklch */ color: oklch(60.9% 0.143 304.9);
Tailwind
colors: {
custom: {
50: '#b895d8',
500: '#976ac7',
950: '#000000',
},
}SCSS
$custom: #976ac7; $custom-light: #b895d8; $custom-dark: #000000;
JSON
{
"hex": "#976ac7",
"rgb": {
"r": 151,
"g": 106,
"b": 199
},
"hsl": {
"h": 269.032,
"s": 45.366,
"l": 59.804
},
"oklch": {
"l": 0.60938,
"c": 0.14286,
"h": 304.9
},
"luminance": 0.21011
}Semantic roles & 50–950 ramp
primary
#976AC7
secondary
#C7D8B4
accent
#D55396
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83