#8B52BE#8B52BE
#8B52BE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.167 H 306.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8B52BE |
|---|---|
| RGB | rgb(139, 82, 190) |
| HSL | hsl(272, 45%, 53%) |
| HSV | hsv(272, 57%, 75%) |
| CMYK | cmyk(26.8%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(45.96, 44.30, -47.92) |
| CIE-LCH | lch(45.96, 65.26, 312.76°) |
| OKLab | oklab(55.29% 0.0982 -0.135) |
| OKLCH | oklch(55.29% 0.167 306) |
| XYZ | xyz(22.9571, 15.2415, 50.4377) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.81
Royal Purple
#7851A9
ΔE00 4.72
Amethyst
#9B5FC0
ΔE00 5.20
Purply
#983FB2
ΔE00 5.42
Purpley
#8756E4
ΔE00 6.30
Darkorchid
#9932CC
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B52BE #85BE52
analogous
#5552BE #8B52BE #BE52BB
triadic
#8B52BE #BE8B52 #52BE8B
tetradic
#8B52BE #BE5552 #85BE52 #52BBBE
square
#8B52BE #BE5552 #85BE52 #52BBBE
split-complementary
#8B52BE #BBBE52 #52BE55
monochromatic
#4D296D #6C3A99 #8B52BE #A97ECF #C7ABDF
Accessibility & contrast
On white
5.19
#8B52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8B52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B52BE
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B52BE | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296BC2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#836780
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8b52be; /* rgb */ color: rgb(139, 82, 190); /* oklch */ color: oklch(55.3% 0.167 306.0);
Tailwind
colors: {
custom: {
50: '#b085d2',
500: '#8b52be',
950: '#000000',
},
}SCSS
$custom: #8b52be; $custom-light: #b085d2; $custom-dark: #000000;
JSON
{
"hex": "#8b52be",
"rgb": {
"r": 139,
"g": 82,
"b": 190
},
"hsl": {
"h": 271.667,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.55292,
"c": 0.16697,
"h": 306
},
"luminance": 0.15241
}Semantic roles & 50–950 ramp
primary
#8B52BE
secondary
#B5CD9F
accent
#D55390
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83