#8A47B8#8A47B8
#8A47B8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.176 H 308.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47B8 |
|---|---|
| RGB | rgb(138, 71, 184) |
| HSL | hsl(276, 44%, 50%) |
| HSV | hsv(276, 61%, 72%) |
| CMYK | cmyk(25%, 61.4%, 0%, 27.8%) |
| CIE-LAB | lab(43.32, 48.43, -48.66) |
| CIE-LCH | lch(43.32, 68.65, 314.87°) |
| OKLab | oklab(53.22% 0.1109 -0.1372) |
| OKLCH | oklch(53.22% 0.176 308.9) |
| XYZ | xyz(21.3845, 13.3708, 46.7924) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.46
Darkorchid
#9932CC
ΔE00 4.59
Royal Purple
#7851A9
ΔE00 4.75
Deep Lavender
#8D5EB7
ΔE00 6.29
Medium Purple
#9E43A2
ΔE00 6.73
Blueviolet
#8A2BE2
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47B8 #75B847
analogous
#5147B8 #8A47B8 #B847AE
triadic
#8A47B8 #B88A47 #47B88A
tetradic
#8A47B8 #B85147 #75B847 #47AEB8
square
#8A47B8 #B85147 #75B847 #47AEB8
split-complementary
#8A47B8 #AEB847 #47B851
monochromatic
#482560 #69368C #8A47B8 #A673C9 #C29FDA
Accessibility & contrast
On white
5.72
#8A47B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8A47B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47B8
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47B8 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#3767B5
Tritanopia (blue-blind)
#835D79
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a47b8; /* rgb */ color: rgb(138, 71, 184); /* oklch */ color: oklch(53.2% 0.176 308.9);
Tailwind
colors: {
custom: {
50: '#af7ece',
500: '#8a47b8',
950: '#000000',
},
}SCSS
$custom: #8a47b8; $custom-light: #af7ece; $custom-dark: #000000;
JSON
{
"hex": "#8a47b8",
"rgb": {
"r": 138,
"g": 71,
"b": 184
},
"hsl": {
"h": 275.575,
"s": 44.314,
"l": 50
},
"oklch": {
"l": 0.53217,
"c": 0.17639,
"h": 308.9
},
"luminance": 0.1337
}Semantic roles & 50–950 ramp
primary
#8A47B8
secondary
#A9C794
accent
#D45488
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82