#8B48CE#8B48CE
#8B48CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.199 H 303.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8B48CE |
|---|---|
| RGB | rgb(139, 72, 206) |
| HSL | hsl(270, 58%, 55%) |
| HSV | hsv(270, 65%, 81%) |
| CMYK | cmyk(32.5%, 65%, 0%, 19.2%) |
| CIE-LAB | lab(45.05, 53.32, -58.64) |
| CIE-LCH | lch(45.05, 79.25, 312.28°) |
| OKLab | oklab(54.96% 0.1098 -0.1665) |
| OKLCH | oklch(54.96% 0.199 303.4) |
| XYZ | xyz(24.1028, 14.5800, 59.9250) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.24
Purpley
#8756E4
ΔE00 5.05
Blueviolet
#8A2BE2
ΔE00 5.23
Purply
#983FB2
ΔE00 6.03
Bluish Purple
#703BE7
ΔE00 6.46
Lightish Purple
#A552E6
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B48CE #8BCE48
analogous
#4848CE #8B48CE #CE48CE
triadic
#8B48CE #CE8B48 #48CE8B
tetradic
#8B48CE #CE4848 #8BCE48 #48CECE
square
#8B48CE #CE4848 #8BCE48 #48CECE
split-complementary
#8B48CE #CECE48 #48CE48
monochromatic
#4E217B #6C2EAB #8B48CE #AA78DB #C8A9E8
Accessibility & contrast
On white
5.36
#8B48CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8B48CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B48CE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B48CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B48CE | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#196ACB
Tritanopia (blue-blind)
#7E6585
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8b48ce; /* rgb */ color: rgb(139, 72, 206); /* oklch */ color: oklch(55.0% 0.199 303.4);
Tailwind
colors: {
custom: {
50: '#b27fde',
500: '#8b48ce',
950: '#000000',
},
}SCSS
$custom: #8b48ce; $custom-light: #b27fde; $custom-dark: #000000;
JSON
{
"hex": "#8b48ce",
"rgb": {
"r": 139,
"g": 72,
"b": 206
},
"hsl": {
"h": 270,
"s": 57.759,
"l": 54.51
},
"oklch": {
"l": 0.54956,
"c": 0.19939,
"h": 303.4
},
"luminance": 0.1458
}Semantic roles & 50–950 ramp
primary
#8B48CE
secondary
#B9D59D
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83