#976CCF#976CCF
#976CCF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.150 H 302.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #976CCF |
|---|---|
| RGB | rgb(151, 108, 207) |
| HSL | hsl(266, 51%, 62%) |
| HSV | hsv(266, 48%, 81%) |
| CMYK | cmyk(27.1%, 47.8%, 0%, 18.8%) |
| CIE-LAB | lab(53.82, 37.12, -45.10) |
| CIE-LCH | lch(53.82, 58.41, 309.46°) |
| OKLab | oklab(61.72% 0.0799 -0.1265) |
| OKLCH | oklch(61.72% 0.15 302.3) |
| XYZ | xyz(29.3850, 21.8094, 61.6809) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.73
Deep Lilac
#966EBD
ΔE00 3.59
Amethyst
#9B5FC0
ΔE00 4.74
Deep Lavender
#8D5EB7
ΔE00 5.89
Lighter Purple
#A55AF4
ΔE00 6.93
Light Urple
#B36FF6
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976CCF #A4CF6C
analogous
#6C73CF #976CCF #C96CCF
triadic
#976CCF #CF976C #6CCF97
tetradic
#976CCF #CF6C73 #A4CF6C #6CCFC9
square
#976CCF #CF6C73 #A4CF6C #6CCFC9
split-complementary
#976CCF #CFC96C #73CF6C
monochromatic
#5A2F91 #763EBF #976CCF #B89ADE #D8C8ED
Accessibility & contrast
On white
3.92
#976CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#976CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976CCF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976CCF | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#8D7E94
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #976ccf; /* rgb */ color: rgb(151, 108, 207); /* oklch */ color: oklch(61.7% 0.150 302.3);
Tailwind
colors: {
custom: {
50: '#b897de',
500: '#976ccf',
950: '#000000',
},
}SCSS
$custom: #976ccf; $custom-light: #b897de; $custom-dark: #000000;
JSON
{
"hex": "#976ccf",
"rgb": {
"r": 151,
"g": 108,
"b": 207
},
"hsl": {
"h": 266.061,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.61716,
"c": 0.14965,
"h": 302.3
},
"luminance": 0.21809
}Semantic roles & 50–950 ramp
primary
#976CCF
secondary
#CEDEB9
accent
#BE277D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83