#8B4BAE#8B4BAE
#8B4BAE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.160 H 312.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8B4BAE |
|---|---|
| RGB | rgb(139, 75, 174) |
| HSL | hsl(279, 40%, 49%) |
| HSV | hsv(279, 57%, 68%) |
| CMYK | cmyk(20.1%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(43.62, 44.33, -42.28) |
| CIE-LCH | lch(43.62, 61.26, 316.35°) |
| OKLab | oklab(53.27% 0.1069 -0.1185) |
| OKLCH | oklch(53.27% 0.16 312) |
| XYZ | xyz(20.8022, 13.5776, 41.5611) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.28
Royal Purple
#7851A9
ΔE00 4.29
Medium Purple
#9E43A2
ΔE00 5.33
Deep Lavender
#8D5EB7
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 6.25
Ugly Purple
#A442A0
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B4BAE #6EAE4B
analogous
#5A4BAE #8B4BAE #AE4BA0
triadic
#8B4BAE #AE8B4B #4BAE8B
tetradic
#8B4BAE #AE5A4B #6EAE4B #4BA0AE
square
#8B4BAE #AE5A4B #6EAE4B #4BA0AE
split-complementary
#8B4BAE #A0AE4B #4BAE5A
monochromatic
#472658 #693983 #8B4BAE #A773C3 #C29ED5
Accessibility & contrast
On white
5.65
#8B4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8B4BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B4BAE
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B4BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B4BAE | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#4568AC
Tritanopia (blue-blind)
#875C75
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8b4bae; /* rgb */ color: rgb(139, 75, 174); /* oklch */ color: oklch(53.3% 0.160 312.0);
Tailwind
colors: {
custom: {
50: '#af80c7',
500: '#8b4bae',
950: '#000000',
},
}SCSS
$custom: #8b4bae; $custom-light: #af80c7; $custom-dark: #000000;
JSON
{
"hex": "#8b4bae",
"rgb": {
"r": 139,
"g": 75,
"b": 174
},
"hsl": {
"h": 278.788,
"s": 39.759,
"l": 48.824
},
"oklch": {
"l": 0.53274,
"c": 0.15959,
"h": 312
},
"luminance": 0.13577
}Semantic roles & 50–950 ramp
primary
#8B4BAE
secondary
#A4C293
accent
#D05882
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82