#8A47CD#8A47CD
#8A47CD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.199 H 303.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47CD |
|---|---|
| RGB | rgb(138, 71, 205) |
| HSL | hsl(270, 57%, 54%) |
| HSV | hsv(270, 65%, 80%) |
| CMYK | cmyk(32.7%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(44.69, 53.36, -58.66) |
| CIE-LCH | lch(44.69, 79.30, 312.29°) |
| OKLab | oklab(54.64% 0.1096 -0.1666) |
| OKLCH | oklch(54.64% 0.199 303.4) |
| XYZ | xyz(23.7514, 14.3176, 59.2580) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.11
Blueviolet
#8A2BE2
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.30
Purply
#983FB2
ΔE00 5.95
Bluish Purple
#703BE7
ΔE00 6.30
Violet (survey)
#9A0EEA
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47CD #8ACD47
analogous
#4747CD #8A47CD #CD47CD
triadic
#8A47CD #CD8A47 #47CD8A
tetradic
#8A47CD #CD4747 #8ACD47 #47CDCD
square
#8A47CD #CD4747 #8ACD47 #47CDCD
split-complementary
#8A47CD #CDCD47 #47CD47
monochromatic
#4D2179 #6B2EA9 #8A47CD #A977DA #C7A7E7
Accessibility & contrast
On white
5.44
#8A47CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8A47CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47CD
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47CD | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#1769CA
Tritanopia (blue-blind)
#7D6584
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a47cd; /* rgb */ color: rgb(138, 71, 205); /* oklch */ color: oklch(54.6% 0.199 303.4);
Tailwind
colors: {
custom: {
50: '#b17edd',
500: '#8a47cd',
950: '#000000',
},
}SCSS
$custom: #8a47cd; $custom-light: #b17edd; $custom-dark: #000000;
JSON
{
"hex": "#8a47cd",
"rgb": {
"r": 138,
"g": 71,
"b": 205
},
"hsl": {
"h": 270,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.54642,
"c": 0.19941,
"h": 303.4
},
"luminance": 0.14318
}Semantic roles & 50–950 ramp
primary
#8A47CD
secondary
#B8D49B
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83