#8B3BB6#8B3BB6
#8B3BB6 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.191 H 311.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3BB6 |
|---|---|
| RGB | rgb(139, 59, 182) |
| HSL | hsl(279, 51%, 47%) |
| HSV | hsv(279, 68%, 71%) |
| CMYK | cmyk(23.6%, 67.6%, 0%, 28.6%) |
| CIE-LAB | lab(41.21, 54.01, -50.86) |
| CIE-LCH | lch(41.21, 74.19, 316.72°) |
| OKLab | oklab(51.68% 0.1265 -0.1436) |
| OKLCH | oklch(51.68% 0.191 311.4) |
| XYZ | xyz(20.6534, 11.9948, 45.4741) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Darkorchid
#9932CC
ΔE00 3.67
Darkviolet
#9400D3
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.11
Royal Purple
#7851A9
ΔE00 6.45
Blueviolet
#8A2BE2
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3BB6 #66B63B
analogous
#4D3BB6 #8B3BB6 #B63BA4
triadic
#8B3BB6 #B68B3B #3BB68B
tetradic
#8B3BB6 #B64D3B #66B63B #3BA4B6
square
#8B3BB6 #B64D3B #66B63B #3BA4B6
split-complementary
#8B3BB6 #A4B63B #3BB64D
monochromatic
#441D5A #682C88 #8B3BB6 #A762CC #C190DB
Accessibility & contrast
On white
6.18
#8B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8B3BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3BB6
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3BB6 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#865474
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8b3bb6; /* rgb */ color: rgb(139, 59, 182); /* oklch */ color: oklch(51.7% 0.191 311.4);
Tailwind
colors: {
custom: {
50: '#b177cd',
500: '#8b3bb6',
950: '#000000',
},
}SCSS
$custom: #8b3bb6; $custom-light: #b177cd; $custom-dark: #000000;
JSON
{
"hex": "#8b3bb6",
"rgb": {
"r": 139,
"g": 59,
"b": 182
},
"hsl": {
"h": 279.024,
"s": 51.037,
"l": 47.255
},
"oklch": {
"l": 0.51682,
"c": 0.19131,
"h": 311.4
},
"luminance": 0.11994
}Semantic roles & 50–950 ramp
primary
#8B3BB6
secondary
#9DC687
accent
#DB4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82