#8A47BF#8A47BF
#8A47BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.184 H 306.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47BF |
|---|---|
| RGB | rgb(138, 71, 191) |
| HSL | hsl(274, 48%, 51%) |
| HSV | hsv(274, 63%, 75%) |
| CMYK | cmyk(27.7%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(43.76, 50.05, -52.04) |
| CIE-LCH | lch(43.76, 72.20, 313.88°) |
| OKLab | oklab(53.68% 0.1106 -0.1471) |
| OKLCH | oklch(53.68% 0.184 306.9) |
| XYZ | xyz(22.1365, 13.6716, 50.7528) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.13
Purply
#983FB2
ΔE00 4.20
Royal Purple
#7851A9
ΔE00 5.24
Blueviolet
#8A2BE2
ΔE00 6.37
Deep Lavender
#8D5EB7
ΔE00 6.46
Purpley
#8756E4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47BF #7CBF47
analogous
#4E47BF #8A47BF #BF47B8
triadic
#8A47BF #BF8A47 #47BF8A
tetradic
#8A47BF #BF4E47 #7CBF47 #47B8BF
square
#8A47BF #BF4E47 #7CBF47 #47B8BF
split-complementary
#8A47BF #B8BF47 #47BF4E
monochromatic
#4A2468 #6A3495 #8A47BF #A774CF #C4A2DF
Accessibility & contrast
On white
5.62
#8A47BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#8A47BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47BF
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47BF | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#815F7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a47bf; /* rgb */ color: rgb(138, 71, 191); /* oklch */ color: oklch(53.7% 0.184 306.9);
Tailwind
colors: {
custom: {
50: '#b07ed3',
500: '#8a47bf',
950: '#000000',
},
}SCSS
$custom: #8a47bf; $custom-light: #b07ed3; $custom-dark: #000000;
JSON
{
"hex": "#8a47bf",
"rgb": {
"r": 138,
"g": 71,
"b": 191
},
"hsl": {
"h": 273.5,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.53678,
"c": 0.18407,
"h": 306.9
},
"luminance": 0.13671
}Semantic roles & 50–950 ramp
primary
#8A47BF
secondary
#AECB96
accent
#D8508C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83