#8B3AB5#8B3AB5
#8B3AB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.192 H 311.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3AB5 |
|---|---|
| RGB | rgb(139, 58, 181) |
| HSL | hsl(280, 51%, 47%) |
| HSV | hsv(280, 68%, 71%) |
| CMYK | cmyk(23.2%, 68%, 0%, 29%) |
| CIE-LAB | lab(40.98, 54.25, -50.64) |
| CIE-LCH | lch(40.98, 74.21, 316.97°) |
| OKLab | oklab(51.5% 0.1277 -0.1429) |
| OKLCH | oklch(51.5% 0.192 311.8) |
| XYZ | xyz(20.4995, 11.8518, 44.9149) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.25
Darkorchid
#9932CC
ΔE00 3.78
Barney
#AC1DB8
ΔE00 6.03
Darkviolet
#9400D3
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.58
Blueviolet
#8A2BE2
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3AB5 #64B53A
analogous
#4E3AB5 #8B3AB5 #B53AA2
triadic
#8B3AB5 #B58B3A #3AB58B
tetradic
#8B3AB5 #B54E3A #64B53A #3AA2B5
square
#8B3AB5 #B54E3A #64B53A #3AA2B5
split-complementary
#8B3AB5 #A2B53A #3AB54E
monochromatic
#441C58 #672B87 #8B3AB5 #A760CC #C18EDB
Accessibility & contrast
On white
6.23
#8B3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8B3AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3AB5
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3AB5 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2D62B2
Tritanopia (blue-blind)
#865373
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8b3ab5; /* rgb */ color: rgb(139, 58, 181); /* oklch */ color: oklch(51.5% 0.192 311.8);
Tailwind
colors: {
custom: {
50: '#b176cc',
500: '#8b3ab5',
950: '#000000',
},
}SCSS
$custom: #8b3ab5; $custom-light: #b176cc; $custom-dark: #000000;
JSON
{
"hex": "#8b3ab5",
"rgb": {
"r": 139,
"g": 58,
"b": 181
},
"hsl": {
"h": 279.512,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.51497,
"c": 0.19162,
"h": 311.8
},
"luminance": 0.11851
}Semantic roles & 50–950 ramp
primary
#8B3AB5
secondary
#9BC685
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82