#976FC7#976FC7
#976FC7 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.8% C 0.135 H 303.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #976FC7 |
|---|---|
| RGB | rgb(151, 111, 199) |
| HSL | hsl(267, 44%, 61%) |
| HSV | hsv(267, 44%, 78%) |
| CMYK | cmyk(24.1%, 44.2%, 0%, 22%) |
| CIE-LAB | lab(54.10, 33.48, -40.10) |
| CIE-LCH | lch(54.10, 52.24, 309.86°) |
| OKLab | oklab(61.79% 0.0746 -0.112) |
| OKLCH | oklch(61.79% 0.135 303.7) |
| XYZ | xyz(28.7535, 22.0718, 56.7672) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.95
Mediumpurple
#9370DB
ΔE00 3.98
Amethyst
#9B5FC0
ΔE00 4.92
Deep Lavender
#8D5EB7
ΔE00 5.90
Soft Purple
#A66FB5
ΔE00 6.08
Wisteria
#A87DC2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976FC7 #9FC76F
analogous
#6F73C7 #976FC7 #C36FC7
triadic
#976FC7 #C7976F #6FC797
tetradic
#976FC7 #C76F73 #9FC76F #6FC7C3
square
#976FC7 #C76F73 #9FC76F #6FC7C3
split-complementary
#976FC7 #C7C36F #73C76F
monochromatic
#5A3587 #7746B3 #976FC7 #B79BD8 #D7C7E9
Accessibility & contrast
On white
3.88
#976FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#976FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976FC7
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976FC7 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#8F7E91
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #976fc7; /* rgb */ color: rgb(151, 111, 199); /* oklch */ color: oklch(61.8% 0.135 303.7);
Tailwind
colors: {
custom: {
50: '#b799d8',
500: '#976fc7',
950: '#000000',
},
}SCSS
$custom: #976fc7; $custom-light: #b799d8; $custom-dark: #000000;
JSON
{
"hex": "#976fc7",
"rgb": {
"r": 151,
"g": 111,
"b": 199
},
"hsl": {
"h": 267.273,
"s": 44,
"l": 60.784
},
"oklch": {
"l": 0.61793,
"c": 0.13459,
"h": 303.7
},
"luminance": 0.22072
}Semantic roles & 50–950 ramp
primary
#976FC7
secondary
#CADAB8
accent
#B72E79
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83