#8772D9#8772D9
#8772D9 is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.8% C 0.152 H 290.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8772D9 |
|---|---|
| RGB | rgb(135, 114, 217) |
| HSL | hsl(252, 58%, 65%) |
| HSV | hsv(252, 47%, 85%) |
| CMYK | cmyk(37.8%, 47.5%, 0%, 14.9%) |
| CIE-LAB | lab(54.23, 32.05, -50.21) |
| CIE-LCH | lch(54.23, 59.57, 302.55°) |
| OKLab | oklab(61.84% 0.0535 -0.1419) |
| OKLCH | oklch(61.84% 0.152 290.7) |
| XYZ | xyz(28.5300, 22.1945, 68.4130) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.66
Mediumslateblue
#7B68EE
ΔE00 4.88
Periwinkle (survey)
#8E82FE
ΔE00 7.03
Deep Lilac
#966EBD
ΔE00 7.16
Cornflower
#6A79F7
ΔE00 7.86
Lavender Blue
#8B88F8
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8772D9 #C4D972
analogous
#7291D9 #8772D9 #BB72D9
triadic
#8772D9 #D98772 #72D987
tetradic
#8772D9 #D97291 #C4D972 #72D9BB
square
#8772D9 #D97291 #C4D972 #72D9BB
split-complementary
#8772D9 #D9BB72 #91D972
monochromatic
#452CA4 #5E42CC #8772D9 #B0A2E6 #D9D2F3
Accessibility & contrast
On white
3.86
#8772D9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#8772D9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8772D9
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8772D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8772D9 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C84DD
Deuteranopia (green-blind)
#4E7FD7
Tritanopia (blue-blind)
#72869B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8772d9; /* rgb */ color: rgb(135, 114, 217); /* oklch */ color: oklch(61.8% 0.152 290.7);
Tailwind
colors: {
custom: {
50: '#ae9be5',
500: '#8772d9',
950: '#000000',
},
}SCSS
$custom: #8772d9; $custom-light: #ae9be5; $custom-dark: #000000;
JSON
{
"hex": "#8772d9",
"rgb": {
"r": 135,
"g": 114,
"b": 217
},
"hsl": {
"h": 252.233,
"s": 57.542,
"l": 64.902
},
"oklch": {
"l": 0.61838,
"c": 0.15162,
"h": 290.7
},
"luminance": 0.22195
}Semantic roles & 50–950 ramp
primary
#8772D9
secondary
#DEE5C2
accent
#C520A4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84