#8B4ABA#8B4ABA
#8B4ABA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.174 H 308.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4ABA |
|---|---|
| RGB | rgb(139, 74, 186) |
| HSL | hsl(275, 45%, 51%) |
| HSV | hsv(275, 60%, 73%) |
| CMYK | cmyk(25.3%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(44.14, 47.59, -48.51) |
| CIE-LCH | lch(44.14, 67.96, 314.45°) |
| OKLab | oklab(53.88% 0.1084 -0.1367) |
| OKLCH | oklch(53.88% 0.174 308.4) |
| XYZ | xyz(21.9574, 13.9320, 47.9773) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.78
Royal Purple
#7851A9
ΔE00 4.68
Darkorchid
#9932CC
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 6.82
Medium Purple
#9E43A2
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4ABA #79BA4A
analogous
#534ABA #8B4ABA #BA4AB1
triadic
#8B4ABA #BA8B4A #4ABA8B
tetradic
#8B4ABA #BA534A #79BA4A #4AB1BA
square
#8B4ABA #BA534A #79BA4A #4AB1BA
split-complementary
#8B4ABA #B1BA4A #4ABA53
monochromatic
#4A2664 #6B3790 #8B4ABA #A776CB #C4A3DC
Accessibility & contrast
On white
5.55
#8B4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8B4ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4ABA
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4ABA | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#84607B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8b4aba; /* rgb */ color: rgb(139, 74, 186); /* oklch */ color: oklch(53.9% 0.174 308.4);
Tailwind
colors: {
custom: {
50: '#b080cf',
500: '#8b4aba',
950: '#000000',
},
}SCSS
$custom: #8b4aba; $custom-light: #b080cf; $custom-dark: #000000;
JSON
{
"hex": "#8b4aba",
"rgb": {
"r": 139,
"g": 74,
"b": 186
},
"hsl": {
"h": 274.821,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.53879,
"c": 0.17449,
"h": 308.4
},
"luminance": 0.13932
}Semantic roles & 50–950 ramp
primary
#8B4ABA
secondary
#ACC997
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82