#8A47C9#8A47C9
#8A47C9 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.195 H 304.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47C9 |
|---|---|
| RGB | rgb(138, 71, 201) |
| HSL | hsl(271, 55%, 53%) |
| HSV | hsv(271, 65%, 79%) |
| CMYK | cmyk(31.3%, 64.7%, 0%, 21.2%) |
| CIE-LAB | lab(44.41, 52.41, -56.79) |
| CIE-LCH | lch(44.41, 77.27, 312.70°) |
| OKLab | oklab(54.36% 0.11 -0.1611) |
| OKLCH | oklch(54.36% 0.195 304.3) |
| XYZ | xyz(23.2747, 14.1269, 56.7476) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.99
Blueviolet
#8A2BE2
ΔE00 5.36
Purply
#983FB2
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 6.21
Bluish Purple
#703BE7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47C9 #86C947
analogous
#4947C9 #8A47C9 #C947C7
triadic
#8A47C9 #C98A47 #47C98A
tetradic
#8A47C9 #C94947 #86C947 #47C7C9
square
#8A47C9 #C94947 #86C947 #47C7C9
split-complementary
#8A47C9 #C7C947 #47C949
monochromatic
#4C2274 #6B30A3 #8A47C9 #A876D7 #C6A6E5
Accessibility & contrast
On white
5.49
#8A47C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8A47C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47C9
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47C9 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#2069C6
Tritanopia (blue-blind)
#7E6382
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a47c9; /* rgb */ color: rgb(138, 71, 201); /* oklch */ color: oklch(54.4% 0.195 304.3);
Tailwind
colors: {
custom: {
50: '#b17eda',
500: '#8a47c9',
950: '#000000',
},
}SCSS
$custom: #8a47c9; $custom-light: #b17eda; $custom-dark: #000000;
JSON
{
"hex": "#8a47c9",
"rgb": {
"r": 138,
"g": 71,
"b": 201
},
"hsl": {
"h": 270.923,
"s": 54.622,
"l": 53.333
},
"oklch": {
"l": 0.54362,
"c": 0.19503,
"h": 304.3
},
"luminance": 0.14127
}Semantic roles & 50–950 ramp
primary
#8A47C9
secondary
#B5D29A
accent
#DE4A92
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83