#8B52BB#8B52BB
#8B52BB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.163 H 306.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8B52BB |
|---|---|
| RGB | rgb(139, 82, 187) |
| HSL | hsl(273, 44%, 53%) |
| HSV | hsv(273, 56%, 73%) |
| CMYK | cmyk(25.7%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(45.79, 43.59, -46.45) |
| CIE-LCH | lch(45.79, 63.70, 313.18°) |
| OKLab | oklab(55.11% 0.0981 -0.1307) |
| OKLCH | oklch(55.11% 0.163 306.9) |
| XYZ | xyz(22.6325, 15.1116, 48.7286) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.63
Royal Purple
#7851A9
ΔE00 4.45
Amethyst
#9B5FC0
ΔE00 5.15
Purply
#983FB2
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 6.48
Purpley
#8756E4
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B52BB #82BB52
analogous
#5652BB #8B52BB #BB52B7
triadic
#8B52BB #BB8B52 #52BB8B
tetradic
#8B52BB #BB5652 #82BB52 #52B7BB
square
#8B52BB #BB5652 #82BB52 #52B7BB
split-complementary
#8B52BB #B7BB52 #52BB56
monochromatic
#4C2969 #6C3B95 #8B52BB #A87ECC #C6AADE
Accessibility & contrast
On white
5.22
#8B52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8B52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B52BB
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B52BB | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#83667F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8b52bb; /* rgb */ color: rgb(139, 82, 187); /* oklch */ color: oklch(55.1% 0.163 306.9);
Tailwind
colors: {
custom: {
50: '#b085d0',
500: '#8b52bb',
950: '#000000',
},
}SCSS
$custom: #8b52bb; $custom-light: #b085d0; $custom-dark: #000000;
JSON
{
"hex": "#8b52bb",
"rgb": {
"r": 139,
"g": 82,
"b": 187
},
"hsl": {
"h": 272.571,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.55106,
"c": 0.16346,
"h": 306.9
},
"luminance": 0.15111
}Semantic roles & 50–950 ramp
primary
#8B52BB
secondary
#B2CB9E
accent
#D3548E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82