#8B4CB5#8B4CB5
#8B4CB5 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.166 H 309.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4CB5 |
|---|---|
| RGB | rgb(139, 76, 181) |
| HSL | hsl(276, 42%, 50%) |
| HSV | hsv(276, 58%, 71%) |
| CMYK | cmyk(23.2%, 58%, 0%, 29%) |
| CIE-LAB | lab(44.22, 45.40, -45.44) |
| CIE-LCH | lch(44.22, 64.23, 314.97°) |
| OKLab | oklab(53.85% 0.1058 -0.1277) |
| OKLCH | oklch(53.85% 0.166 309.6) |
| XYZ | xyz(21.5708, 13.9944, 45.2720) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.66
Royal Purple
#7851A9
ΔE00 4.27
Deep Lavender
#8D5EB7
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.66
Medium Purple
#9E43A2
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4CB5 #76B54C
analogous
#564CB5 #8B4CB5 #B54CAA
triadic
#8B4CB5 #B58B4C #4CB58B
tetradic
#8B4CB5 #B5564C #76B54C #4CAAB5
square
#8B4CB5 #B5564C #76B54C #4CAAB5
split-complementary
#8B4CB5 #AAB54C #4CB556
monochromatic
#49275F #6A398B #8B4CB5 #A777C7 #C3A3D9
Accessibility & contrast
On white
5.53
#8B4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8B4CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4CB5
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4CB5 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2766B8
Deuteranopia (green-blind)
#406AB2
Tritanopia (blue-blind)
#855F79
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8b4cb5; /* rgb */ color: rgb(139, 76, 181); /* oklch */ color: oklch(53.8% 0.166 309.6);
Tailwind
colors: {
custom: {
50: '#b081cc',
500: '#8b4cb5',
950: '#000000',
},
}SCSS
$custom: #8b4cb5; $custom-light: #b081cc; $custom-dark: #000000;
JSON
{
"hex": "#8b4cb5",
"rgb": {
"r": 139,
"g": 76,
"b": 181
},
"hsl": {
"h": 276,
"s": 41.502,
"l": 50.392
},
"oklch": {
"l": 0.53848,
"c": 0.16587,
"h": 309.6
},
"luminance": 0.13994
}Semantic roles & 50–950 ramp
primary
#8B4CB5
secondary
#AAC697
accent
#D15688
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82