#976DC7#976DC7
#976DC7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.138 H 304.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #976DC7 |
|---|---|
| RGB | rgb(151, 109, 199) |
| HSL | hsl(268, 45%, 60%) |
| HSV | hsv(268, 45%, 78%) |
| CMYK | cmyk(24.1%, 45.2%, 0%, 22%) |
| CIE-LAB | lab(53.64, 34.62, -40.83) |
| CIE-LCH | lch(53.64, 53.53, 310.30°) |
| OKLab | oklab(61.45% 0.0775 -0.1141) |
| OKLCH | oklch(61.45% 0.138 304.2) |
| XYZ | xyz(28.5378, 21.6402, 56.6953) |
| Luminance | 0.2164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.04
Mediumpurple
#9370DB
ΔE00 4.02
Amethyst
#9B5FC0
ΔE00 4.35
Deep Lavender
#8D5EB7
ΔE00 5.40
Soft Purple
#A66FB5
ΔE00 6.16
Wisteria
#A87DC2
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976DC7 #9DC76D
analogous
#6D70C7 #976DC7 #C46DC7
triadic
#976DC7 #C7976D #6DC797
tetradic
#976DC7 #C76D70 #9DC76D #6DC7C4
square
#976DC7 #C76D70 #9DC76D #6DC7C4
split-complementary
#976DC7 #C7C46D #70C76D
monochromatic
#5A3386 #7844B2 #976DC7 #B799D8 #D6C5E9
Accessibility & contrast
On white
3.94
#976DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#976DC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976DC7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976DC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976DC7 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#8F7C90
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #976dc7; /* rgb */ color: rgb(151, 109, 199); /* oklch */ color: oklch(61.4% 0.138 304.2);
Tailwind
colors: {
custom: {
50: '#b797d8',
500: '#976dc7',
950: '#000000',
},
}SCSS
$custom: #976dc7; $custom-light: #b797d8; $custom-dark: #000000;
JSON
{
"hex": "#976dc7",
"rgb": {
"r": 151,
"g": 109,
"b": 199
},
"hsl": {
"h": 268,
"s": 44.554,
"l": 60.392
},
"oklch": {
"l": 0.61448,
"c": 0.13791,
"h": 304.2
},
"luminance": 0.2164
}Semantic roles & 50–950 ramp
primary
#976DC7
secondary
#C9D9B7
accent
#B82E77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83