#8B52CE#8B52CE
#8B52CE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.186 H 301.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B52CE |
|---|---|
| RGB | rgb(139, 82, 206) |
| HSL | hsl(268, 56%, 56%) |
| HSV | hsv(268, 60%, 81%) |
| CMYK | cmyk(32.5%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(46.95, 48.19, -55.58) |
| CIE-LCH | lch(46.95, 73.56, 310.92°) |
| OKLab | oklab(56.33% 0.0982 -0.1575) |
| OKLCH | oklch(56.33% 0.186 301.9) |
| XYZ | xyz(24.8027, 15.9797, 60.1583) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.73
Deep Lavender
#8D5EB7
ΔE00 5.39
Lightish Purple
#A552E6
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.27
Darkorchid
#9932CC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B52CE #95CE52
analogous
#5257CE #8B52CE #C952CE
triadic
#8B52CE #CE8B52 #52CE8B
tetradic
#8B52CE #CE5257 #95CE52 #52CEC9
square
#8B52CE #CE5257 #95CE52 #52CEC9
split-complementary
#8B52CE #CEC952 #57CE52
monochromatic
#4F2581 #6C32B1 #8B52CE #AB82DC #CBB1E9
Accessibility & contrast
On white
5.00
#8B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#8B52CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B52CE
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B52CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B52CE | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066ED2
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#7E6C88
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b52ce; /* rgb */ color: rgb(139, 82, 206); /* oklch */ color: oklch(56.3% 0.186 301.9);
Tailwind
colors: {
custom: {
50: '#b185de',
500: '#8b52ce',
950: '#000000',
},
}SCSS
$custom: #8b52ce; $custom-light: #b185de; $custom-dark: #000000;
JSON
{
"hex": "#8b52ce",
"rgb": {
"r": 139,
"g": 82,
"b": 206
},
"hsl": {
"h": 267.581,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.56328,
"c": 0.1856,
"h": 301.9
},
"luminance": 0.1598
}Semantic roles & 50–950 ramp
primary
#8B52CE
secondary
#C0D7A4
accent
#DF499A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83