#8E52BF#8E52BF
#8E52BF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.169 H 307.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8E52BF |
|---|---|
| RGB | rgb(142, 82, 191) |
| HSL | hsl(273, 46%, 54%) |
| HSV | hsv(273, 57%, 75%) |
| CMYK | cmyk(25.7%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(46.37, 45.30, -47.82) |
| CIE-LCH | lch(46.37, 65.87, 313.45°) |
| OKLab | oklab(55.69% 0.1021 -0.1347) |
| OKLCH | oklch(55.69% 0.169 307.2) |
| XYZ | xyz(23.5747, 15.5472, 51.0391) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.72
Amethyst
#9B5FC0
ΔE00 4.77
Purply
#983FB2
ΔE00 5.21
Royal Purple
#7851A9
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 6.21
Purpley
#8756E4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E52BF #83BF52
analogous
#5752BF #8E52BF #BF52B9
triadic
#8E52BF #BF8E52 #52BF8E
tetradic
#8E52BF #BF5752 #83BF52 #52B9BF
square
#8E52BF #BF5752 #83BF52 #52B9BF
split-complementary
#8E52BF #B9BF52 #52BF57
monochromatic
#4F296E #6F399B #8E52BF #AB7FD0 #C8ABE0
Accessibility & contrast
On white
5.11
#8E52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8E52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E52BF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E52BF | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#866681
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8e52bf; /* rgb */ color: rgb(142, 82, 191); /* oklch */ color: oklch(55.7% 0.169 307.2);
Tailwind
colors: {
custom: {
50: '#b285d3',
500: '#8e52bf',
950: '#000000',
},
}SCSS
$custom: #8e52bf; $custom-light: #b285d3; $custom-dark: #000000;
JSON
{
"hex": "#8e52bf",
"rgb": {
"r": 142,
"g": 82,
"b": 191
},
"hsl": {
"h": 273.028,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.55691,
"c": 0.16899,
"h": 307.2
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#8E52BF
secondary
#B4CE9F
accent
#D6528D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83