#8852C8#8852C8
#8852C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.178 H 302.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8852C8 |
|---|---|
| RGB | rgb(136, 82, 200) |
| HSL | hsl(267, 52%, 55%) |
| HSV | hsv(267, 59%, 78%) |
| CMYK | cmyk(32%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(46.23, 46.00, -53.30) |
| CIE-LCH | lch(46.23, 70.41, 310.80°) |
| OKLab | oklab(55.61% 0.0944 -0.1509) |
| OKLCH | oklch(55.61% 0.178 302) |
| XYZ | xyz(23.5935, 15.4389, 56.3694) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.51
Deep Lavender
#8D5EB7
ΔE00 4.97
Royal Purple
#7851A9
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 6.08
Amethyst
#9B5FC0
ΔE00 6.13
Darkorchid
#9932CC
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8852C8 #92C852
analogous
#5257C8 #8852C8 #C352C8
triadic
#8852C8 #C88852 #52C888
tetradic
#8852C8 #C85257 #92C852 #52C8C3
square
#8852C8 #C85257 #92C852 #52C8C3
split-complementary
#8852C8 #C8C352 #57C852
monochromatic
#4C2779 #6A35A8 #8852C8 #A880D7 #C8AFE6
Accessibility & contrast
On white
5.14
#8852C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#8852C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8852C8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8852C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8852C8 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166DCC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#7B6A85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8852c8; /* rgb */ color: rgb(136, 82, 200); /* oklch */ color: oklch(55.6% 0.178 302.0);
Tailwind
colors: {
custom: {
50: '#af85d9',
500: '#8852c8',
950: '#000000',
},
}SCSS
$custom: #8852c8; $custom-light: #af85d9; $custom-dark: #000000;
JSON
{
"hex": "#8852c8",
"rgb": {
"r": 136,
"g": 82,
"b": 200
},
"hsl": {
"h": 267.458,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.55606,
"c": 0.17798,
"h": 302
},
"luminance": 0.15439
}Semantic roles & 50–950 ramp
primary
#8852C8
secondary
#BDD4A2
accent
#DB4D9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83