#8B3BB4#8B3BB4
#8B3BB4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.189 H 312.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3BB4 |
|---|---|
| RGB | rgb(139, 59, 180) |
| HSL | hsl(280, 51%, 47%) |
| HSV | hsv(280, 67%, 71%) |
| CMYK | cmyk(22.8%, 67.2%, 0%, 29.4%) |
| CIE-LAB | lab(41.08, 53.58, -49.89) |
| CIE-LCH | lch(41.08, 73.21, 317.04°) |
| OKLab | oklab(51.55% 0.1266 -0.1407) |
| OKLCH | oklch(51.55% 0.189 312) |
| XYZ | xyz(20.4481, 11.9127, 44.3934) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.09
Darkorchid
#9932CC
ΔE00 3.92
Barney
#AC1DB8
ΔE00 6.05
Darkviolet
#9400D3
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.42
Medium Purple
#9E43A2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3BB4 #64B43B
analogous
#4E3BB4 #8B3BB4 #B43BA1
triadic
#8B3BB4 #B48B3B #3BB48B
tetradic
#8B3BB4 #B44E3B #64B43B #3BA1B4
square
#8B3BB4 #B44E3B #64B43B #3BA1B4
split-complementary
#8B3BB4 #A1B43B #3BB44E
monochromatic
#441D58 #672C86 #8B3BB4 #A761CB #C18FDA
Accessibility & contrast
On white
6.21
#8B3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#8B3BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3BB4
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3BB4 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#865473
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8b3bb4; /* rgb */ color: rgb(139, 59, 180); /* oklch */ color: oklch(51.5% 0.189 312.0);
Tailwind
colors: {
custom: {
50: '#b177cb',
500: '#8b3bb4',
950: '#000000',
},
}SCSS
$custom: #8b3bb4; $custom-light: #b177cb; $custom-dark: #000000;
JSON
{
"hex": "#8b3bb4",
"rgb": {
"r": 139,
"g": 59,
"b": 180
},
"hsl": {
"h": 279.669,
"s": 50.628,
"l": 46.863
},
"oklch": {
"l": 0.51546,
"c": 0.18929,
"h": 312
},
"luminance": 0.11912
}Semantic roles & 50–950 ramp
primary
#8B3BB4
secondary
#9BC586
accent
#DA4E7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82