#8A3BB9#8A3BB9
#8A3BB9 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.8% C 0.194 H 310.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3BB9 |
|---|---|
| RGB | rgb(138, 59, 185) |
| HSL | hsl(278, 52%, 48%) |
| HSV | hsv(278, 68%, 73%) |
| CMYK | cmyk(25.4%, 68.1%, 0%, 27.5%) |
| CIE-LAB | lab(41.27, 54.45, -52.53) |
| CIE-LCH | lch(41.27, 75.66, 316.03°) |
| OKLab | oklab(51.76% 0.1249 -0.1485) |
| OKLCH | oklch(51.76% 0.194 310.1) |
| XYZ | xyz(20.8005, 12.0344, 47.1167) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.43
Purply
#983FB2
ΔE00 3.66
Darkviolet
#9400D3
ΔE00 5.80
Blueviolet
#8A2BE2
ΔE00 5.98
Barney
#AC1DB8
ΔE00 6.41
Royal Purple
#7851A9
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3BB9 #6AB93B
analogous
#4B3BB9 #8A3BB9 #B93BA9
triadic
#8A3BB9 #B98A3B #3BB98A
tetradic
#8A3BB9 #B94B3B #6AB93B #3BA9B9
square
#8A3BB9 #B94B3B #6AB93B #3BA9B9
split-complementary
#8A3BB9 #A9B93B #3BB94B
monochromatic
#451D5C #672C8B #8A3BB9 #A664CD #C192DC
Accessibility & contrast
On white
6.16
#8A3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8A3BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3BB9
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3BB9 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2763B6
Tritanopia (blue-blind)
#845675
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a3bb9; /* rgb */ color: rgb(138, 59, 185); /* oklch */ color: oklch(51.8% 0.194 310.1);
Tailwind
colors: {
custom: {
50: '#b077cf',
500: '#8a3bb9',
950: '#000000',
},
}SCSS
$custom: #8a3bb9; $custom-light: #b077cf; $custom-dark: #000000;
JSON
{
"hex": "#8a3bb9",
"rgb": {
"r": 138,
"g": 59,
"b": 185
},
"hsl": {
"h": 277.619,
"s": 51.639,
"l": 47.843
},
"oklch": {
"l": 0.51762,
"c": 0.19402,
"h": 310.1
},
"luminance": 0.12034
}Semantic roles & 50–950 ramp
primary
#8A3BB9
secondary
#A0C788
accent
#DB4D82
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82