#8827C3#8827C3
#8827C3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.3% C 0.225 H 308.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8827C3 |
|---|---|
| RGB | rgb(136, 39, 195) |
| HSL | hsl(277, 67%, 46%) |
| HSV | hsv(277, 80%, 76%) |
| CMYK | cmyk(30.3%, 80%, 0%, 23.5%) |
| CIE-LAB | lab(38.94, 64.13, -62.18) |
| CIE-LCH | lch(38.94, 89.33, 315.89°) |
| OKLab | oklab(50.28% 0.139 -0.1768) |
| OKLCH | oklch(50.28% 0.225 308.2) |
| XYZ | xyz(20.7271, 10.6257, 52.5782) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.89
Darkorchid
#9932CC
ΔE00 4.10
Blueviolet
#8A2BE2
ΔE00 4.45
Violet (survey)
#9A0EEA
ΔE00 5.40
Purple (survey)
#7E1E9C
ΔE00 6.28
Vibrant Purple
#AD03DE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8827C3 #62C327
analogous
#3A27C3 #8827C3 #C327B0
triadic
#8827C3 #C38827 #27C388
tetradic
#8827C3 #C33A27 #62C327 #27B0C3
square
#8827C3 #C33A27 #62C327 #27B0C3
split-complementary
#8827C3 #B0C327 #27C33A
monochromatic
#41135D #641D90 #8827C3 #A54CDB #BF7FE5
Accessibility & contrast
On white
6.72
#8827C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#8827C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8827C3
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8827C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8827C3 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7E5076
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8827c3; /* rgb */ color: rgb(136, 39, 195); /* oklch */ color: oklch(50.3% 0.225 308.2);
Tailwind
colors: {
custom: {
50: '#b06ed6',
500: '#8827c3',
950: '#000000',
},
}SCSS
$custom: #8827c3; $custom-light: #b06ed6; $custom-dark: #000000;
JSON
{
"hex": "#8827c3",
"rgb": {
"r": 136,
"g": 39,
"b": 195
},
"hsl": {
"h": 277.308,
"s": 66.667,
"l": 45.882
},
"oklch": {
"l": 0.50284,
"c": 0.22491,
"h": 308.2
},
"luminance": 0.10625
}Semantic roles & 50–950 ramp
primary
#8827C3
secondary
#98CE78
accent
#EA3E7F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83