#976FBF#976FBF
#976FBF is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.4% C 0.124 H 306.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #976FBF |
|---|---|
| RGB | rgb(151, 111, 191) |
| HSL | hsl(270, 38%, 59%) |
| HSV | hsv(270, 42%, 75%) |
| CMYK | cmyk(20.9%, 41.9%, 0%, 25.1%) |
| CIE-LAB | lab(53.72, 31.59, -36.13) |
| CIE-LCH | lch(53.72, 47.99, 311.16°) |
| OKLab | oklab(61.38% 0.0733 -0.1005) |
| OKLCH | oklch(61.38% 0.124 306.1) |
| XYZ | xyz(27.8490, 21.7100, 52.0034) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 0.46
Soft Purple
#A66FB5
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 4.87
Mediumpurple
#9370DB
ΔE00 5.58
Wisteria
#A87DC2
ΔE00 5.59
Deep Lavender
#8D5EB7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#976FBF #97BF6F
analogous
#6F6FBF #976FBF #BF6FBF
triadic
#976FBF #BF976F #6FBF97
tetradic
#976FBF #BF6F6F #97BF6F #6FBFBF
square
#976FBF #BF6F6F #97BF6F #6FBFBF
split-complementary
#976FBF #BFBF6F #6FBF6F
monochromatic
#5A377C #784AA7 #976FBF #B699D2 #D4C4E5
Accessibility & contrast
On white
3.93
#976FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#976FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #976FBF
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##976FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##976FBF | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#917C8E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #976fbf; /* rgb */ color: rgb(151, 111, 191); /* oklch */ color: oklch(61.4% 0.124 306.1);
Tailwind
colors: {
custom: {
50: '#b799d2',
500: '#976fbf',
950: '#000000',
},
}SCSS
$custom: #976fbf; $custom-light: #b799d2; $custom-dark: #000000;
JSON
{
"hex": "#976fbf",
"rgb": {
"r": 151,
"g": 111,
"b": 191
},
"hsl": {
"h": 270,
"s": 38.462,
"l": 59.216
},
"oklch": {
"l": 0.61377,
"c": 0.12437,
"h": 306.1
},
"luminance": 0.2171
}Semantic roles & 50–950 ramp
primary
#976FBF
secondary
#C5D5B5
accent
#CE5994
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82