#8772C8#8772C8
#8772C8 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 60.9% C 0.128 H 293.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8772C8 |
|---|---|
| RGB | rgb(135, 114, 200) |
| HSL | hsl(255, 44%, 62%) |
| HSV | hsv(255, 43%, 78%) |
| CMYK | cmyk(32.5%, 43%, 0%, 21.6%) |
| CIE-LAB | lab(53.34, 27.50, -41.98) |
| CIE-LCH | lch(53.34, 50.19, 303.22°) |
| OKLab | oklab(60.87% 0.0511 -0.1179) |
| OKLCH | oklch(60.87% 0.128 293.4) |
| XYZ | xyz(26.4317, 21.3552, 57.3618) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.83
Deep Lilac
#966EBD
ΔE00 5.00
Mediumslateblue
#7B68EE
ΔE00 7.37
Deep Lavender
#8D5EB7
ΔE00 7.39
Amethyst
#9B5FC0
ΔE00 7.88
Wisteria
#A87DC2
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8772C8 #B3C872
analogous
#7288C8 #8772C8 #B272C8
triadic
#8772C8 #C88772 #72C887
tetradic
#8772C8 #C87288 #B3C872 #72C8B2
square
#8772C8 #C87288 #B3C872 #72C8B2
split-complementary
#8772C8 #C8B272 #88C872
monochromatic
#4A368A #6247B6 #8772C8 #AC9ED9 #D2CAEA
Accessibility & contrast
On white
3.98
#8772C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8772C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8772C8
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8772C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8772C8 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#5A7EC6
Tritanopia (blue-blind)
#788293
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8772c8; /* rgb */ color: rgb(135, 114, 200); /* oklch */ color: oklch(60.9% 0.128 293.4);
Tailwind
colors: {
custom: {
50: '#ac9ad9',
500: '#8772c8',
950: '#000000',
},
}SCSS
$custom: #8772c8; $custom-light: #ac9ad9; $custom-dark: #000000;
JSON
{
"hex": "#8772c8",
"rgb": {
"r": 135,
"g": 114,
"b": 200
},
"hsl": {
"h": 254.651,
"s": 43.878,
"l": 61.569
},
"oklch": {
"l": 0.6087,
"c": 0.12847,
"h": 293.4
},
"luminance": 0.21356
}Semantic roles & 50–950 ramp
primary
#8772C8
secondary
#D3DBBB
accent
#B72E96
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83