#8A47C8#8A47C8
#8A47C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.194 H 304.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47C8 |
|---|---|
| RGB | rgb(138, 71, 200) |
| HSL | hsl(271, 54%, 53%) |
| HSV | hsv(271, 65%, 78%) |
| CMYK | cmyk(31%, 64.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.35, 52.17, -56.32) |
| CIE-LCH | lch(44.35, 76.77, 312.81°) |
| OKLab | oklab(54.29% 0.1101 -0.1597) |
| OKLCH | oklch(54.29% 0.194 304.6) |
| XYZ | xyz(23.1575, 14.0800, 56.1301) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.98
Purply
#983FB2
ΔE00 5.31
Blueviolet
#8A2BE2
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.10
Bluish Purple
#703BE7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47C8 #85C847
analogous
#4947C8 #8A47C8 #C847C5
triadic
#8A47C8 #C88A47 #47C88A
tetradic
#8A47C8 #C84947 #85C847 #47C5C8
square
#8A47C8 #C84947 #85C847 #47C5C8
split-complementary
#8A47C8 #C5C847 #47C849
monochromatic
#4C2272 #6B30A2 #8A47C8 #A876D6 #C6A5E4
Accessibility & contrast
On white
5.50
#8A47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#8A47C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47C8
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47C8 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#7F6381
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a47c8; /* rgb */ color: rgb(138, 71, 200); /* oklch */ color: oklch(54.3% 0.194 304.6);
Tailwind
colors: {
custom: {
50: '#b07ed9',
500: '#8a47c8',
950: '#000000',
},
}SCSS
$custom: #8a47c8; $custom-light: #b07ed9; $custom-dark: #000000;
JSON
{
"hex": "#8a47c8",
"rgb": {
"r": 138,
"g": 71,
"b": 200
},
"hsl": {
"h": 271.163,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.54292,
"c": 0.19394,
"h": 304.6
},
"luminance": 0.1408
}Semantic roles & 50–950 ramp
primary
#8A47C8
secondary
#B4D19A
accent
#DD4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83