#8B3AAA#8B3AAA
#8B3AAA is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.181 H 315.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3AAA |
|---|---|
| RGB | rgb(139, 58, 170) |
| HSL | hsl(283, 49%, 45%) |
| HSV | hsv(283, 66%, 67%) |
| CMYK | cmyk(18.2%, 65.9%, 0%, 33.3%) |
| CIE-LAB | lab(40.28, 51.90, -45.26) |
| CIE-LCH | lch(40.28, 68.86, 318.91°) |
| OKLab | oklab(50.77% 0.1283 -0.1271) |
| OKLCH | oklch(50.77% 0.181 315.3) |
| XYZ | xyz(19.4151, 11.4180, 39.2036) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.01
Darkorchid
#9932CC
ΔE00 5.32
Medium Purple
#9E43A2
ΔE00 5.62
Barney
#AC1DB8
ΔE00 5.91
Purple (survey)
#7E1E9C
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3AAA #59AA3A
analogous
#533AAA #8B3AAA #AA3A91
triadic
#8B3AAA #AA8B3A #3AAA8B
tetradic
#8B3AAA #AA533A #59AA3A #3A91AA
square
#8B3AAA #AA533A #59AA3A #3A91AA
split-complementary
#8B3AAA #91AA3A #3AAA53
monochromatic
#401B4F #662A7C #8B3AAA #A95AC7 #C188D6
Accessibility & contrast
On white
6.40
#8B3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8B3AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3AAA
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3AAA | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#894F6D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8b3aaa; /* rgb */ color: rgb(139, 58, 170); /* oklch */ color: oklch(50.8% 0.181 315.3);
Tailwind
colors: {
custom: {
50: '#b076c4',
500: '#8b3aaa',
950: '#000000',
},
}SCSS
$custom: #8b3aaa; $custom-light: #b076c4; $custom-dark: #000000;
JSON
{
"hex": "#8b3aaa",
"rgb": {
"r": 139,
"g": 58,
"b": 170
},
"hsl": {
"h": 283.393,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.50766,
"c": 0.18064,
"h": 315.3
},
"luminance": 0.11417
}Semantic roles & 50–950 ramp
primary
#8B3AAA
secondary
#91C17F
accent
#D94F75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82