#8A47B7#8A47B7
#8A47B7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.175 H 309.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47B7 |
|---|---|
| RGB | rgb(138, 71, 183) |
| HSL | hsl(276, 44%, 50%) |
| HSV | hsv(276, 61%, 72%) |
| CMYK | cmyk(24.6%, 61.2%, 0%, 28.2%) |
| CIE-LAB | lab(43.25, 48.20, -48.17) |
| CIE-LCH | lch(43.25, 68.14, 315.02°) |
| OKLab | oklab(53.15% 0.1109 -0.1358) |
| OKLCH | oklch(53.15% 0.175 309.2) |
| XYZ | xyz(21.2800, 13.3290, 46.2423) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.37
Darkorchid
#9932CC
ΔE00 4.68
Royal Purple
#7851A9
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 6.28
Medium Purple
#9E43A2
ΔE00 6.60
Blueviolet
#8A2BE2
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47B7 #74B747
analogous
#5247B7 #8A47B7 #B747AC
triadic
#8A47B7 #B78A47 #47B78A
tetradic
#8A47B7 #B75247 #74B747 #47ACB7
square
#8A47B7 #B75247 #74B747 #47ACB7
split-complementary
#8A47B7 #ACB747 #47B752
monochromatic
#47255F #69368B #8A47B7 #A673C9 #C29FDA
Accessibility & contrast
On white
5.73
#8A47B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8A47B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47B7
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47B7 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1663BB
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#845D78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a47b7; /* rgb */ color: rgb(138, 71, 183); /* oklch */ color: oklch(53.2% 0.175 309.2);
Tailwind
colors: {
custom: {
50: '#af7ecd',
500: '#8a47b7',
950: '#000000',
},
}SCSS
$custom: #8a47b7; $custom-light: #af7ecd; $custom-dark: #000000;
JSON
{
"hex": "#8a47b7",
"rgb": {
"r": 138,
"g": 71,
"b": 183
},
"hsl": {
"h": 275.893,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.53152,
"c": 0.17529,
"h": 309.2
},
"luminance": 0.13329
}Semantic roles & 50–950 ramp
primary
#8A47B7
secondary
#A8C694
accent
#D45487
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82