#976BB7#976BB7
#976BB7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.3% C 0.121 H 309.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #976BB7 |
|---|---|
| RGB | rgb(151, 107, 183) |
| HSL | hsl(275, 35%, 57%) |
| HSV | hsv(275, 42%, 72%) |
| CMYK | cmyk(17.5%, 41.5%, 0%, 28.2%) |
| CIE-LAB | lab(52.41, 32.03, -33.57) |
| CIE-LCH | lch(52.41, 46.40, 313.65°) |
| OKLab | oklab(60.27% 0.0776 -0.0931) |
| OKLCH | oklch(60.27% 0.121 309.8) |
| XYZ | xyz(26.5659, 20.5140, 47.3507) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.56
Soft Purple
#A66FB5
ΔE00 4.03
Amethyst
#9B5FC0
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 4.78
Dark Lilac
#9C6DA5
ΔE00 5.10
Wisteria
#A87DC2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976BB7 #8BB76B
analogous
#716BB7 #976BB7 #B76BB1
triadic
#976BB7 #B7976B #6BB797
tetradic
#976BB7 #B7716B #8BB76B #6BB1B7
square
#976BB7 #B7716B #8BB76B #6BB1B7
split-complementary
#976BB7 #B1B76B #6BB771
monochromatic
#583771 #794B9A #976BB7 #B494CB #D1BDDF
Accessibility & contrast
On white
4.12
#976BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#976BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976BB7
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976BB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976BB7 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#937688
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #976bb7; /* rgb */ color: rgb(151, 107, 183); /* oklch */ color: oklch(60.3% 0.121 309.8);
Tailwind
colors: {
custom: {
50: '#b796cd',
500: '#976bb7',
950: '#000000',
},
}SCSS
$custom: #976bb7; $custom-light: #b796cd; $custom-dark: #000000;
JSON
{
"hex": "#976bb7",
"rgb": {
"r": 151,
"g": 107,
"b": 183
},
"hsl": {
"h": 274.737,
"s": 34.545,
"l": 56.863
},
"oklch": {
"l": 0.60272,
"c": 0.12119,
"h": 309.8
},
"luminance": 0.20514
}Semantic roles & 50–950 ramp
primary
#976BB7
secondary
#BCCEAF
accent
#CB5D8B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82