#8A3EB5#8A3EB5
#8A3EB5 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.186 H 310.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3EB5 |
|---|---|
| RGB | rgb(138, 62, 181) |
| HSL | hsl(278, 49%, 48%) |
| HSV | hsv(278, 66%, 71%) |
| CMYK | cmyk(23.8%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(41.51, 52.18, -49.80) |
| CIE-LCH | lch(41.51, 72.13, 316.34°) |
| OKLab | oklab(51.85% 0.1218 -0.1405) |
| OKLCH | oklch(51.85% 0.186 310.9) |
| XYZ | xyz(20.5428, 12.1852, 44.9769) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.13
Darkorchid
#9932CC
ΔE00 3.98
Royal Purple
#7851A9
ΔE00 5.90
Barney
#AC1DB8
ΔE00 6.44
Darkviolet
#9400D3
ΔE00 6.61
Medium Purple
#9E43A2
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3EB5 #69B53E
analogous
#4E3EB5 #8A3EB5 #B53EA5
triadic
#8A3EB5 #B58A3E #3EB58A
tetradic
#8A3EB5 #B54E3E #69B53E #3EA5B5
square
#8A3EB5 #B54E3E #69B53E #3EA5B5
split-complementary
#8A3EB5 #A5B53E #3EB54E
monochromatic
#441F5A #672E87 #8A3EB5 #A666CA #C193DA
Accessibility & contrast
On white
6.11
#8A3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#8A3EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3EB5
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3EB5 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#855674
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8a3eb5; /* rgb */ color: rgb(138, 62, 181); /* oklch */ color: oklch(51.8% 0.186 310.9);
Tailwind
colors: {
custom: {
50: '#b078cc',
500: '#8a3eb5',
950: '#000000',
},
}SCSS
$custom: #8a3eb5; $custom-light: #b078cc; $custom-dark: #000000;
JSON
{
"hex": "#8a3eb5",
"rgb": {
"r": 138,
"g": 62,
"b": 181
},
"hsl": {
"h": 278.319,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.51849,
"c": 0.18594,
"h": 310.9
},
"luminance": 0.12185
}Semantic roles & 50–950 ramp
primary
#8A3EB5
secondary
#9FC589
accent
#D94F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82