#8B3ABB#8B3ABB
#8B3ABB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 310.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8B3ABB |
|---|---|
| RGB | rgb(139, 58, 187) |
| HSL | hsl(278, 53%, 48%) |
| HSV | hsv(278, 69%, 73%) |
| CMYK | cmyk(25.7%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(41.38, 55.56, -53.52) |
| CIE-LCH | lch(41.38, 77.15, 316.07°) |
| OKLab | oklab(51.91% 0.1271 -0.1514) |
| OKLCH | oklch(51.91% 0.198 310) |
| XYZ | xyz(21.1284, 12.1034, 48.2272) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.11
Purply
#983FB2
ΔE00 3.74
Darkviolet
#9400D3
ΔE00 5.51
Blueviolet
#8A2BE2
ΔE00 5.68
Barney
#AC1DB8
ΔE00 6.29
Royal Purple
#7851A9
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B3ABB #6ABB3A
analogous
#4A3ABB #8B3ABB #BB3AAB
triadic
#8B3ABB #BB8B3A #3ABB8B
tetradic
#8B3ABB #BB4A3A #6ABB3A #3AABBB
square
#8B3ABB #BB4A3A #6ABB3A #3AABBB
split-complementary
#8B3ABB #ABBB3A #3ABB4A
monochromatic
#461D5E #682C8C #8B3ABB #A763CF #C192DD
Accessibility & contrast
On white
6.14
#8B3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8B3ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B3ABB
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B3ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B3ABB | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#845676
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8b3abb; /* rgb */ color: rgb(139, 58, 187); /* oklch */ color: oklch(51.9% 0.198 310.0);
Tailwind
colors: {
custom: {
50: '#b177d0',
500: '#8b3abb',
950: '#000000',
},
}SCSS
$custom: #8b3abb; $custom-light: #b177d0; $custom-dark: #000000;
JSON
{
"hex": "#8b3abb",
"rgb": {
"r": 139,
"g": 58,
"b": 187
},
"hsl": {
"h": 277.674,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.51911,
"c": 0.19764,
"h": 310
},
"luminance": 0.12103
}Semantic roles & 50–950 ramp
primary
#8B3ABB
secondary
#A0C888
accent
#DC4C81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82