#8B4BB1#8B4BB1
#8B4BB1 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.163 H 311.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4BB1 |
|---|---|
| RGB | rgb(139, 75, 177) |
| HSL | hsl(278, 40%, 49%) |
| HSV | hsv(278, 58%, 69%) |
| CMYK | cmyk(21.5%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(43.79, 45.01, -43.78) |
| CIE-LCH | lch(43.79, 62.79, 315.80°) |
| OKLab | oklab(53.46% 0.107 -0.1229) |
| OKLCH | oklch(53.46% 0.163 311) |
| XYZ | xyz(21.0979, 13.6959, 43.1186) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.32
Royal Purple
#7851A9
ΔE00 4.26
Deep Lavender
#8D5EB7
ΔE00 5.32
Medium Purple
#9E43A2
ΔE00 5.70
Darkorchid
#9932CC
ΔE00 5.90
Amethyst
#9B5FC0
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4BB1 #71B14B
analogous
#584BB1 #8B4BB1 #B14BA4
triadic
#8B4BB1 #B18B4B #4BB18B
tetradic
#8B4BB1 #B1584B #71B14B #4BA4B1
square
#8B4BB1 #B1584B #71B14B #4BA4B1
split-complementary
#8B4BB1 #A4B14B #4BB158
monochromatic
#47275B #693986 #8B4BB1 #A775C4 #C2A0D7
Accessibility & contrast
On white
5.62
#8B4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8B4BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4BB1
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4BB1 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#4269AE
Tritanopia (blue-blind)
#865D77
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b4bb1; /* rgb */ color: rgb(139, 75, 177); /* oklch */ color: oklch(53.5% 0.163 311.0);
Tailwind
colors: {
custom: {
50: '#b080c9',
500: '#8b4bb1',
950: '#000000',
},
}SCSS
$custom: #8b4bb1; $custom-light: #b080c9; $custom-dark: #000000;
JSON
{
"hex": "#8b4bb1",
"rgb": {
"r": 139,
"g": 75,
"b": 177
},
"hsl": {
"h": 277.647,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.53457,
"c": 0.16294,
"h": 311
},
"luminance": 0.13695
}Semantic roles & 50–950 ramp
primary
#8B4BB1
secondary
#A6C394
accent
#D05784
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82