#8B52CF#8B52CF
#8B52CF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.187 H 301.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8B52CF |
|---|---|
| RGB | rgb(139, 82, 207) |
| HSL | hsl(267, 57%, 57%) |
| HSV | hsv(267, 60%, 81%) |
| CMYK | cmyk(32.9%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(47.01, 48.43, -56.05) |
| CIE-LCH | lch(47.01, 74.08, 310.83°) |
| OKLab | oklab(56.4% 0.0981 -0.1589) |
| OKLCH | oklch(56.4% 0.187 301.7) |
| XYZ | xyz(24.9246, 16.0285, 60.8001) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.58
Deep Lavender
#8D5EB7
ΔE00 5.51
Lightish Purple
#A552E6
ΔE00 5.57
Amethyst
#9B5FC0
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 6.22
Darkorchid
#9932CC
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B52CF #96CF52
analogous
#5258CF #8B52CF #CA52CF
triadic
#8B52CF #CF8B52 #52CF8B
tetradic
#8B52CF #CF5258 #96CF52 #52CFCA
square
#8B52CF #CF5258 #96CF52 #52CFCA
split-complementary
#8B52CF #CFCA52 #58CF52
monochromatic
#4F2482 #6C31B2 #8B52CF #AB82DC #CBB2EA
Accessibility & contrast
On white
4.99
#8B52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#8B52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B52CF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B52CF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#7D6C89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b52cf; /* rgb */ color: rgb(139, 82, 207); /* oklch */ color: oklch(56.4% 0.187 301.7);
Tailwind
colors: {
custom: {
50: '#b185de',
500: '#8b52cf',
950: '#000000',
},
}SCSS
$custom: #8b52cf; $custom-light: #b185de; $custom-dark: #000000;
JSON
{
"hex": "#8b52cf",
"rgb": {
"r": 139,
"g": 82,
"b": 207
},
"hsl": {
"h": 267.36,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.56395,
"c": 0.18676,
"h": 301.7
},
"luminance": 0.16029
}Semantic roles & 50–950 ramp
primary
#8B52CF
secondary
#C1D8A5
accent
#E0489B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83