#976BBB#976BBB
#976BBB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.5% C 0.126 H 308.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #976BBB |
|---|---|
| RGB | rgb(151, 107, 187) |
| HSL | hsl(273, 37%, 58%) |
| HSV | hsv(273, 43%, 73%) |
| CMYK | cmyk(19.3%, 42.8%, 0%, 26.7%) |
| CIE-LAB | lab(52.60, 32.94, -35.58) |
| CIE-LCH | lch(52.60, 48.49, 312.79°) |
| OKLab | oklab(60.48% 0.0784 -0.0989) |
| OKLCH | oklch(60.48% 0.126 308.4) |
| XYZ | xyz(26.9881, 20.6829, 49.5745) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.05
Amethyst
#9B5FC0
ΔE00 3.80
Soft Purple
#A66FB5
ΔE00 4.52
Deep Lavender
#8D5EB7
ΔE00 4.58
Dark Lilac
#9C6DA5
ΔE00 5.92
Wisteria
#A87DC2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976BBB #8FBB6B
analogous
#6F6BBB #976BBB #BB6BB7
triadic
#976BBB #BB976B #6BBB97
tetradic
#976BBB #BB6F6B #8FBB6B #6BB7BB
square
#976BBB #BB6F6B #8FBB6B #6BB7BB
split-complementary
#976BBB #B7BB6B #6BBB6F
monochromatic
#593676 #7949A0 #976BBB #B495CE #D2BFE2
Accessibility & contrast
On white
4.09
#976BBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#976BBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976BBB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976BBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976BBB | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#92778A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #976bbb; /* rgb */ color: rgb(151, 107, 187); /* oklch */ color: oklch(60.5% 0.126 308.4);
Tailwind
colors: {
custom: {
50: '#b796d0',
500: '#976bbb',
950: '#000000',
},
}SCSS
$custom: #976bbb; $custom-light: #b796d0; $custom-dark: #000000;
JSON
{
"hex": "#976bbb",
"rgb": {
"r": 151,
"g": 107,
"b": 187
},
"hsl": {
"h": 273,
"s": 37.037,
"l": 57.647
},
"oklch": {
"l": 0.60475,
"c": 0.12617,
"h": 308.4
},
"luminance": 0.20683
}Semantic roles & 50–950 ramp
primary
#976BBB
secondary
#BFD1B1
accent
#CD5B8E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82