#8B3ABE#8B3ABE
#8B3ABE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.201 H 309.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3ABE |
|---|---|
| RGB | rgb(139, 58, 190) |
| HSL | hsl(277, 53%, 49%) |
| HSV | hsv(277, 69%, 75%) |
| CMYK | cmyk(26.8%, 69.5%, 0%, 25.5%) |
| CIE-LAB | lab(41.58, 56.22, -54.95) |
| CIE-LCH | lch(41.58, 78.62, 315.65°) |
| OKLab | oklab(52.12% 0.1267 -0.1556) |
| OKLCH | oklch(52.12% 0.201 309.2) |
| XYZ | xyz(21.4529, 12.2332, 49.9363) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.84
Purply
#983FB2
ΔE00 4.03
Blueviolet
#8A2BE2
ΔE00 5.23
Darkviolet
#9400D3
ΔE00 5.31
Violet (survey)
#9A0EEA
ΔE00 6.37
Barney
#AC1DB8
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3ABE #6DBE3A
analogous
#493ABE #8B3ABE #BE3AAF
triadic
#8B3ABE #BE8B3A #3ABE8B
tetradic
#8B3ABE #BE493A #6DBE3A #3AAFBE
square
#8B3ABE #BE493A #6DBE3A #3AAFBE
split-complementary
#8B3ABE #AFBE3A #3ABE49
monochromatic
#461D60 #692C8F #8B3ABE #A765D0 #C294DE
Accessibility & contrast
On white
6.09
#8B3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8B3ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3ABE
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3ABE | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#845778
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8b3abe; /* rgb */ color: rgb(139, 58, 190); /* oklch */ color: oklch(52.1% 0.201 309.2);
Tailwind
colors: {
custom: {
50: '#b177d2',
500: '#8b3abe',
950: '#000000',
},
}SCSS
$custom: #8b3abe; $custom-light: #b177d2; $custom-dark: #000000;
JSON
{
"hex": "#8b3abe",
"rgb": {
"r": 139,
"g": 58,
"b": 190
},
"hsl": {
"h": 276.818,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.52122,
"c": 0.20064,
"h": 309.2
},
"luminance": 0.12233
}Semantic roles & 50–950 ramp
primary
#8B3ABE
secondary
#A3CA8A
accent
#DD4B83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83