#8A47BB#8A47BB
#8A47BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.180 H 308.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47BB |
|---|---|
| RGB | rgb(138, 71, 187) |
| HSL | hsl(275, 46%, 51%) |
| HSV | hsv(275, 62%, 73%) |
| CMYK | cmyk(26.2%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(43.50, 49.12, -50.11) |
| CIE-LCH | lch(43.50, 70.17, 314.43°) |
| OKLab | oklab(53.41% 0.1108 -0.1415) |
| OKLCH | oklch(53.41% 0.18 308.1) |
| XYZ | xyz(21.7023, 13.4979, 48.4662) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.75
Darkorchid
#9932CC
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 4.93
Deep Lavender
#8D5EB7
ΔE00 6.34
Blueviolet
#8A2BE2
ΔE00 6.86
Medium Purple
#9E43A2
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47BB #78BB47
analogous
#5047BB #8A47BB #BB47B2
triadic
#8A47BB #BB8A47 #47BB8A
tetradic
#8A47BB #BB5047 #78BB47 #47B2BB
square
#8A47BB #BB5047 #78BB47 #47B2BB
split-complementary
#8A47BB #B2BB47 #47BB50
monochromatic
#492563 #693590 #8A47BB #A674CC #C3A0DC
Accessibility & contrast
On white
5.68
#8A47BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8A47BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47BB
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47BB | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#835E7A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a47bb; /* rgb */ color: rgb(138, 71, 187); /* oklch */ color: oklch(53.4% 0.180 308.1);
Tailwind
colors: {
custom: {
50: '#b07ed0',
500: '#8a47bb',
950: '#000000',
},
}SCSS
$custom: #8a47bb; $custom-light: #b07ed0; $custom-dark: #000000;
JSON
{
"hex": "#8a47bb",
"rgb": {
"r": 138,
"g": 71,
"b": 187
},
"hsl": {
"h": 274.655,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.53413,
"c": 0.17968,
"h": 308.1
},
"luminance": 0.13498
}Semantic roles & 50–950 ramp
primary
#8A47BB
secondary
#ABC995
accent
#D6528A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82