#8B3AB4#8B3AB4
#8B3AB4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.191 H 312.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3AB4 |
|---|---|
| RGB | rgb(139, 58, 180) |
| HSL | hsl(280, 51%, 47%) |
| HSV | hsv(280, 68%, 71%) |
| CMYK | cmyk(22.8%, 67.8%, 0%, 29.4%) |
| CIE-LAB | lab(40.91, 54.03, -50.16) |
| CIE-LCH | lch(40.91, 73.72, 317.13°) |
| OKLab | oklab(51.43% 0.1277 -0.1415) |
| OKLCH | oklch(51.43% 0.191 312.1) |
| XYZ | xyz(20.3972, 11.8109, 44.3764) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.19
Darkorchid
#9932CC
ΔE00 3.90
Barney
#AC1DB8
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.13
Purple (survey)
#7E1E9C
ΔE00 6.56
Royal Purple
#7851A9
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3AB4 #63B43A
analogous
#4E3AB4 #8B3AB4 #B43AA0
triadic
#8B3AB4 #B48B3A #3AB48B
tetradic
#8B3AB4 #B44E3A #63B43A #3AA0B4
square
#8B3AB4 #B44E3A #63B43A #3AA0B4
split-complementary
#8B3AB4 #A0B43A #3AB44E
monochromatic
#441C57 #672B86 #8B3AB4 #A760CC #C18EDB
Accessibility & contrast
On white
6.25
#8B3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8B3AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3AB4
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3AB4 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#2E62B1
Tritanopia (blue-blind)
#865372
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8b3ab4; /* rgb */ color: rgb(139, 58, 180); /* oklch */ color: oklch(51.4% 0.191 312.1);
Tailwind
colors: {
custom: {
50: '#b176cb',
500: '#8b3ab4',
950: '#000000',
},
}SCSS
$custom: #8b3ab4; $custom-light: #b176cb; $custom-dark: #000000;
JSON
{
"hex": "#8b3ab4",
"rgb": {
"r": 139,
"g": 58,
"b": 180
},
"hsl": {
"h": 279.836,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.51429,
"c": 0.19062,
"h": 312.1
},
"luminance": 0.1181
}Semantic roles & 50–950 ramp
primary
#8B3AB4
secondary
#9AC585
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82