#8A3EB9#8A3EB9
#8A3EB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.190 H 309.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3EB9 |
|---|---|
| RGB | rgb(138, 62, 185) |
| HSL | hsl(277, 50%, 48%) |
| HSV | hsv(277, 66%, 73%) |
| CMYK | cmyk(25.4%, 66.5%, 0%, 27.5%) |
| CIE-LAB | lab(41.77, 53.07, -51.73) |
| CIE-LCH | lch(41.77, 74.11, 315.73°) |
| OKLab | oklab(52.12% 0.1215 -0.1462) |
| OKLCH | oklch(52.12% 0.19 309.7) |
| XYZ | xyz(20.9591, 12.3517, 47.1695) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.47
Darkorchid
#9932CC
ΔE00 3.55
Royal Purple
#7851A9
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 6.17
Darkviolet
#9400D3
ΔE00 6.28
Barney
#AC1DB8
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3EB9 #6DB93E
analogous
#4C3EB9 #8A3EB9 #B93EAA
triadic
#8A3EB9 #B98A3E #3EB98A
tetradic
#8A3EB9 #B94C3E #6DB93E #3EAAB9
square
#8A3EB9 #B94C3E #6DB93E #3EAAB9
split-complementary
#8A3EB9 #AAB93E #3EB94C
monochromatic
#461F5D #682F8B #8A3EB9 #A668CC #C196DC
Accessibility & contrast
On white
6.05
#8A3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8A3EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3EB9
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3EB9 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2B64B6
Tritanopia (blue-blind)
#835876
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8a3eb9; /* rgb */ color: rgb(138, 62, 185); /* oklch */ color: oklch(52.1% 0.190 309.7);
Tailwind
colors: {
custom: {
50: '#b079cf',
500: '#8a3eb9',
950: '#000000',
},
}SCSS
$custom: #8a3eb9; $custom-light: #b079cf; $custom-dark: #000000;
JSON
{
"hex": "#8a3eb9",
"rgb": {
"r": 138,
"g": 62,
"b": 185
},
"hsl": {
"h": 277.073,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.52119,
"c": 0.19008,
"h": 309.7
},
"luminance": 0.12351
}Semantic roles & 50–950 ramp
primary
#8A3EB9
secondary
#A2C78C
accent
#D94E84
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82