#8E52BB#8E52BB
#8E52BB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.164 H 308.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E52BB |
|---|---|
| RGB | rgb(142, 82, 187) |
| HSL | hsl(274, 44%, 53%) |
| HSV | hsv(274, 56%, 73%) |
| CMYK | cmyk(24.1%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.14, 44.36, -45.87) |
| CIE-LCH | lch(46.14, 63.81, 314.04°) |
| OKLab | oklab(55.45% 0.102 -0.1289) |
| OKLCH | oklch(55.45% 0.164 308.3) |
| XYZ | xyz(23.1405, 15.3736, 48.7524) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.49
Amethyst
#9B5FC0
ΔE00 4.72
Purply
#983FB2
ΔE00 4.88
Royal Purple
#7851A9
ΔE00 4.94
Darkorchid
#9932CC
ΔE00 6.41
Purpley
#8756E4
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E52BB #7FBB52
analogous
#5A52BB #8E52BB #BB52B3
triadic
#8E52BB #BB8E52 #52BB8E
tetradic
#8E52BB #BB5A52 #7FBB52 #52B3BB
square
#8E52BB #BB5A52 #7FBB52 #52B3BB
split-complementary
#8E52BB #B3BB52 #52BB5A
monochromatic
#4E2969 #6E3B95 #8E52BB #AB7ECC #C7AADE
Accessibility & contrast
On white
5.15
#8E52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8E52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E52BB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E52BB | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#88657F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8e52bb; /* rgb */ color: rgb(142, 82, 187); /* oklch */ color: oklch(55.4% 0.164 308.3);
Tailwind
colors: {
custom: {
50: '#b285d0',
500: '#8e52bb',
950: '#000000',
},
}SCSS
$custom: #8e52bb; $custom-light: #b285d0; $custom-dark: #000000;
JSON
{
"hex": "#8e52bb",
"rgb": {
"r": 142,
"g": 82,
"b": 187
},
"hsl": {
"h": 274.286,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.55445,
"c": 0.16439,
"h": 308.3
},
"luminance": 0.15373
}Semantic roles & 50–950 ramp
primary
#8E52BB
secondary
#B1CB9E
accent
#D3548B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82