#8B4BB2#8B4BB2
#8B4BB2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.164 H 310.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4BB2 |
|---|---|
| RGB | rgb(139, 75, 178) |
| HSL | hsl(277, 41%, 50%) |
| HSV | hsv(277, 58%, 70%) |
| CMYK | cmyk(21.9%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(43.85, 45.24, -44.27) |
| CIE-LCH | lch(43.85, 63.30, 315.62°) |
| OKLab | oklab(53.52% 0.107 -0.1243) |
| OKLCH | oklch(53.52% 0.164 310.7) |
| XYZ | xyz(21.1979, 13.7359, 43.6455) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.35
Royal Purple
#7851A9
ΔE00 4.27
Deep Lavender
#8D5EB7
ΔE00 5.30
Darkorchid
#9932CC
ΔE00 5.78
Medium Purple
#9E43A2
ΔE00 5.83
Amethyst
#9B5FC0
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4BB2 #72B24B
analogous
#584BB2 #8B4BB2 #B24BA5
triadic
#8B4BB2 #B28B4B #4BB28B
tetradic
#8B4BB2 #B2584B #72B24B #4BA5B2
square
#8B4BB2 #B2584B #72B24B #4BA5B2
split-complementary
#8B4BB2 #A5B24B #4BB258
monochromatic
#48275C #693987 #8B4BB2 #A775C5 #C2A0D7
Accessibility & contrast
On white
5.60
#8B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8B4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4BB2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4BB2 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#865E77
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8b4bb2; /* rgb */ color: rgb(139, 75, 178); /* oklch */ color: oklch(53.5% 0.164 310.7);
Tailwind
colors: {
custom: {
50: '#b080c9',
500: '#8b4bb2',
950: '#000000',
},
}SCSS
$custom: #8b4bb2; $custom-light: #b080c9; $custom-dark: #000000;
JSON
{
"hex": "#8b4bb2",
"rgb": {
"r": 139,
"g": 75,
"b": 178
},
"hsl": {
"h": 277.282,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.53518,
"c": 0.16405,
"h": 310.7
},
"luminance": 0.13735
}Semantic roles & 50–950 ramp
primary
#8B4BB2
secondary
#A7C495
accent
#D15785
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82