#8852BE#8852BE
#8852BE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.166 H 304.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8852BE |
|---|---|
| RGB | rgb(136, 82, 190) |
| HSL | hsl(270, 45%, 53%) |
| HSV | hsv(270, 57%, 75%) |
| CMYK | cmyk(28.4%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(45.62, 43.55, -48.49) |
| CIE-LCH | lch(45.62, 65.18, 311.93°) |
| OKLab | oklab(54.96% 0.0943 -0.1368) |
| OKLCH | oklch(54.96% 0.166 304.6) |
| XYZ | xyz(22.4629, 14.9866, 50.4145) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.05
Royal Purple
#7851A9
ΔE00 4.34
Amethyst
#9B5FC0
ΔE00 5.68
Purply
#983FB2
ΔE00 5.77
Purpley
#8756E4
ΔE00 6.14
Darkorchid
#9932CC
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8852BE #88BE52
analogous
#5252BE #8852BE #BE52BE
triadic
#8852BE #BE8852 #52BE88
tetradic
#8852BE #BE5252 #88BE52 #52BEBE
square
#8852BE #BE5252 #88BE52 #52BEBE
split-complementary
#8852BE #BEBE52 #52BE52
monochromatic
#4B296D #693A99 #8852BE #A77ECF #C5ABDF
Accessibility & contrast
On white
5.25
#8852BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8852BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8852BE
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8852BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8852BE | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#7F6780
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8852be; /* rgb */ color: rgb(136, 82, 190); /* oklch */ color: oklch(55.0% 0.166 304.6);
Tailwind
colors: {
custom: {
50: '#ae85d2',
500: '#8852be',
950: '#000000',
},
}SCSS
$custom: #8852be; $custom-light: #ae85d2; $custom-dark: #000000;
JSON
{
"hex": "#8852be",
"rgb": {
"r": 136,
"g": 82,
"b": 190
},
"hsl": {
"h": 270,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.5496,
"c": 0.16616,
"h": 304.6
},
"luminance": 0.14987
}Semantic roles & 50–950 ramp
primary
#8852BE
secondary
#B6CD9F
accent
#D55394
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83