#8772E7#8772E7
#8772E7 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.7% C 0.170 H 288.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8772E7 |
|---|---|
| RGB | rgb(135, 114, 231) |
| HSL | hsl(251, 71%, 68%) |
| HSV | hsv(251, 51%, 91%) |
| CMYK | cmyk(41.6%, 50.6%, 0%, 9.4%) |
| CIE-LAB | lab(55.02, 35.90, -56.81) |
| CIE-LCH | lch(55.02, 67.21, 302.29°) |
| OKLab | oklab(62.69% 0.0548 -0.1612) |
| OKLCH | oklch(62.69% 0.17 288.8) |
| XYZ | xyz(30.4288, 22.9540, 78.4131) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.53
Mediumslateblue
#7B68EE
ΔE00 3.67
Periwinkle (survey)
#8E82FE
ΔE00 5.60
Cornflower
#6A79F7
ΔE00 6.58
Lavender Blue
#8B88F8
ΔE00 6.92
Perrywinkle
#8F8CE7
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8772E7 #D2E772
analogous
#7298E7 #8772E7 #C172E7
triadic
#8772E7 #E78772 #72E787
tetradic
#8772E7 #E77298 #D2E772 #72E7C1
square
#8772E7 #E77298 #D2E772 #72E7C1
split-complementary
#8772E7 #E7C172 #98E772
monochromatic
#3D20BE #5A3EDE #8772E7 #B4A6F0 #E0DBF9
Accessibility & contrast
On white
3.76
#8772E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8772E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8772E7
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8772E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8772E7 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#6B8AA2
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8772e7; /* rgb */ color: rgb(135, 114, 231); /* oklch */ color: oklch(62.7% 0.170 288.8);
Tailwind
colors: {
custom: {
50: '#af9bef',
500: '#8772e7',
950: '#000000',
},
}SCSS
$custom: #8772e7; $custom-light: #af9bef; $custom-dark: #000000;
JSON
{
"hex": "#8772e7",
"rgb": {
"r": 135,
"g": 114,
"b": 231
},
"hsl": {
"h": 250.769,
"s": 70.909,
"l": 67.647
},
"oklch": {
"l": 0.62687,
"c": 0.17029,
"h": 288.8
},
"luminance": 0.22955
}Semantic roles & 50–950 ramp
primary
#8772E7
secondary
#E6EDC8
accent
#D313B0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84