#8B4ABB#8B4ABB
#8B4ABB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.176 H 308.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4ABB |
|---|---|
| RGB | rgb(139, 74, 187) |
| HSL | hsl(275, 45%, 51%) |
| HSV | hsv(275, 60%, 73%) |
| CMYK | cmyk(25.7%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(44.20, 47.82, -49.00) |
| CIE-LCH | lch(44.20, 68.47, 314.31°) |
| OKLab | oklab(53.94% 0.1084 -0.1382) |
| OKLCH | oklch(53.94% 0.176 308.1) |
| XYZ | xyz(22.0641, 13.9747, 48.5391) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.88
Royal Purple
#7851A9
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 5.59
Amethyst
#9B5FC0
ΔE00 6.82
Medium Purple
#9E43A2
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4ABB #7ABB4A
analogous
#524ABB #8B4ABB #BB4AB3
triadic
#8B4ABB #BB8B4A #4ABB8B
tetradic
#8B4ABB #BB524A #7ABB4A #4AB3BB
square
#8B4ABB #BB524A #7ABB4A #4AB3BB
split-complementary
#8B4ABB #B3BB4A #4ABB52
monochromatic
#4A2665 #6B3791 #8B4ABB #A876CC #C4A3DC
Accessibility & contrast
On white
5.53
#8B4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8B4ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4ABB
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4ABB | 1.00 | 5.53 | 3.79 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#84607B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8b4abb; /* rgb */ color: rgb(139, 74, 187); /* oklch */ color: oklch(53.9% 0.176 308.1);
Tailwind
colors: {
custom: {
50: '#b080d0',
500: '#8b4abb',
950: '#000000',
},
}SCSS
$custom: #8b4abb; $custom-light: #b080d0; $custom-dark: #000000;
JSON
{
"hex": "#8b4abb",
"rgb": {
"r": 139,
"g": 74,
"b": 187
},
"hsl": {
"h": 274.513,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.53943,
"c": 0.1756,
"h": 308.1
},
"luminance": 0.13974
}Semantic roles & 50–950 ramp
primary
#8B4ABB
secondary
#ADC997
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82