#976DBE#976DBE
#976DBE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.0% C 0.127 H 306.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #976DBE |
|---|---|
| RGB | rgb(151, 109, 190) |
| HSL | hsl(271, 38%, 59%) |
| HSV | hsv(271, 43%, 75%) |
| CMYK | cmyk(20.5%, 42.6%, 0%, 25.5%) |
| CIE-LAB | lab(53.21, 32.50, -36.36) |
| CIE-LCH | lch(53.21, 48.77, 311.79°) |
| OKLab | oklab(60.98% 0.076 -0.1011) |
| OKLCH | oklch(60.98% 0.127 306.9) |
| XYZ | xyz(27.5236, 21.2345, 51.3539) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 0.44
Amethyst
#9B5FC0
ΔE00 4.27
Soft Purple
#A66FB5
ΔE00 4.77
Deep Lavender
#8D5EB7
ΔE00 5.09
Mediumpurple
#9370DB
ΔE00 5.77
Wisteria
#A87DC2
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976DBE #94BE6D
analogous
#6E6DBE #976DBE #BE6DBC
triadic
#976DBE #BE976D #6DBE97
tetradic
#976DBE #BE6E6D #94BE6D #6DBCBE
square
#976DBE #BE6E6D #94BE6D #6DBCBE
split-complementary
#976DBE #BCBE6D #6DBE6E
monochromatic
#5A367A #7949A5 #976DBE #B597D1 #D3C2E4
Accessibility & contrast
On white
4.00
#976DBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#976DBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976DBE
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976DBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976DBE | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#917A8C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #976dbe; /* rgb */ color: rgb(151, 109, 190); /* oklch */ color: oklch(61.0% 0.127 306.9);
Tailwind
colors: {
custom: {
50: '#b797d2',
500: '#976dbe',
950: '#000000',
},
}SCSS
$custom: #976dbe; $custom-light: #b797d2; $custom-dark: #000000;
JSON
{
"hex": "#976dbe",
"rgb": {
"r": 151,
"g": 109,
"b": 190
},
"hsl": {
"h": 271.111,
"s": 38.389,
"l": 58.627
},
"oklch": {
"l": 0.60976,
"c": 0.12651,
"h": 306.9
},
"luminance": 0.21234
}Semantic roles & 50–950 ramp
primary
#976DBE
secondary
#C3D3B3
accent
#CE5992
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82