#976EBA#976EBA
#976EBA is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.9% C 0.120 H 308.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #976EBA |
|---|---|
| RGB | rgb(151, 110, 186) |
| HSL | hsl(272, 36%, 58%) |
| HSV | hsv(272, 41%, 73%) |
| CMYK | cmyk(18.8%, 40.9%, 0%, 27.1%) |
| CIE-LAB | lab(53.25, 31.00, -33.99) |
| CIE-LCH | lch(53.25, 46.00, 312.36°) |
| OKLab | oklab(60.95% 0.0738 -0.0943) |
| OKLCH | oklch(60.95% 0.12 308) |
| XYZ | xyz(27.1997, 21.2766, 49.1188) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 0.77
Soft Purple
#A66FB5
ΔE00 4.17
Amethyst
#9B5FC0
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 5.48
Dark Lilac
#9C6DA5
ΔE00 5.52
Wisteria
#A87DC2
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976EBA #91BA6E
analogous
#716EBA #976EBA #BA6EB7
triadic
#976EBA #BA976E #6EBA97
tetradic
#976EBA #BA716E #91BA6E #6EB7BA
square
#976EBA #BA716E #91BA6E #6EB7BA
split-complementary
#976EBA #B7BA6E #6EBA71
monochromatic
#593876 #794C9F #976EBA #B597CE #D2C1E1
Accessibility & contrast
On white
4.00
#976EBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#976EBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976EBA
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976EBA | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#927A8B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #976eba; /* rgb */ color: rgb(151, 110, 186); /* oklch */ color: oklch(60.9% 0.120 308.0);
Tailwind
colors: {
custom: {
50: '#b798cf',
500: '#976eba',
950: '#000000',
},
}SCSS
$custom: #976eba; $custom-light: #b798cf; $custom-dark: #000000;
JSON
{
"hex": "#976eba",
"rgb": {
"r": 151,
"g": 110,
"b": 186
},
"hsl": {
"h": 272.368,
"s": 35.514,
"l": 58.039
},
"oklch": {
"l": 0.60949,
"c": 0.11973,
"h": 308
},
"luminance": 0.21276
}Semantic roles & 50–950 ramp
primary
#976EBA
secondary
#C1D1B3
accent
#CC5C90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82