#8976CF#8976CF
#8976CF is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.2% C 0.132 H 291.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8976CF |
|---|---|
| RGB | rgb(137, 118, 207) |
| HSL | hsl(253, 48%, 64%) |
| HSV | hsv(253, 43%, 81%) |
| CMYK | cmyk(33.8%, 43%, 0%, 18.8%) |
| CIE-LAB | lab(54.84, 27.54, -43.57) |
| CIE-LCH | lch(54.84, 51.55, 302.30°) |
| OKLab | oklab(62.17% 0.0493 -0.1224) |
| OKLCH | oklch(62.17% 0.132 291.9) |
| XYZ | xyz(28.0545, 22.7796, 61.9382) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.46
Deep Lilac
#966EBD
ΔE00 5.96
Mediumslateblue
#7B68EE
ΔE00 7.12
Perrywinkle
#8F8CE7
ΔE00 7.48
Periwinkle (survey)
#8E82FE
ΔE00 7.82
Lavender Blue
#8B88F8
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8976CF #BCCF76
analogous
#768FCF #8976CF #B576CF
triadic
#8976CF #CF8976 #76CF89
tetradic
#8976CF #CF768F #BCCF76 #76CFB5
square
#8976CF #CF768F #BCCF76 #76CFB5
split-complementary
#8976CF #CFB576 #8FCF76
monochromatic
#493596 #6249BF #8976CF #B0A3DF #D7D1EF
Accessibility & contrast
On white
3.78
#8976CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#8976CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8976CF
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8976CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8976CF | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5985D2
Deuteranopia (green-blind)
#5B82CD
Tritanopia (blue-blind)
#788798
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8976cf; /* rgb */ color: rgb(137, 118, 207); /* oklch */ color: oklch(62.2% 0.132 291.9);
Tailwind
colors: {
custom: {
50: '#ae9dde',
500: '#8976cf',
950: '#000000',
},
}SCSS
$custom: #8976cf; $custom-light: #ae9dde; $custom-dark: #000000;
JSON
{
"hex": "#8976cf",
"rgb": {
"r": 137,
"g": 118,
"b": 207
},
"hsl": {
"h": 252.809,
"s": 48.108,
"l": 63.725
},
"oklch": {
"l": 0.6217,
"c": 0.13197,
"h": 291.9
},
"luminance": 0.2278
}Semantic roles & 50–950 ramp
primary
#8976CF
secondary
#D9E0C1
accent
#BB2A9C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83