#976DCD#976DCD
#976DCD is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.146 H 302.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #976DCD |
|---|---|
| RGB | rgb(151, 109, 205) |
| HSL | hsl(266, 49%, 62%) |
| HSV | hsv(266, 47%, 80%) |
| CMYK | cmyk(26.3%, 46.8%, 0%, 19.6%) |
| CIE-LAB | lab(53.95, 36.07, -43.77) |
| CIE-LCH | lch(53.95, 56.72, 309.49°) |
| OKLab | oklab(61.77% 0.0783 -0.1226) |
| OKLCH | oklch(61.77% 0.146 302.6) |
| XYZ | xyz(29.2481, 21.9244, 60.4367) |
| Luminance | 0.2192 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.96
Deep Lilac
#966EBD
ΔE00 3.16
Amethyst
#9B5FC0
ΔE00 4.78
Deep Lavender
#8D5EB7
ΔE00 5.90
Soft Purple
#A66FB5
ΔE00 7.10
Wisteria
#A87DC2
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976DCD #A3CD6D
analogous
#6D73CD #976DCD #C76DCD
triadic
#976DCD #CD976D #6DCD97
tetradic
#976DCD #CD6D73 #A3CD6D #6DCDC7
square
#976DCD #CD6D73 #A3CD6D #6DCDC7
split-complementary
#976DCD #CDC76D #73CD6D
monochromatic
#5A318F #7740BC #976DCD #B79BDD #D8C8EC
Accessibility & contrast
On white
3.90
#976DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#976DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976DCD
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976DCD | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#8D7E93
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #976dcd; /* rgb */ color: rgb(151, 109, 205); /* oklch */ color: oklch(61.8% 0.146 302.6);
Tailwind
colors: {
custom: {
50: '#b898dd',
500: '#976dcd',
950: '#000000',
},
}SCSS
$custom: #976dcd; $custom-light: #b898dd; $custom-dark: #000000;
JSON
{
"hex": "#976dcd",
"rgb": {
"r": 151,
"g": 109,
"b": 205
},
"hsl": {
"h": 266.25,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.61774,
"c": 0.14551,
"h": 302.6
},
"luminance": 0.21924
}Semantic roles & 50–950 ramp
primary
#976DCD
secondary
#CDDDB9
accent
#BC297C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83