#8A47FC#8A47FC
#8A47FC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.2% C 0.250 H 294.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A47FC |
|---|---|
| RGB | rgb(138, 71, 252) |
| HSL | hsl(262, 97%, 63%) |
| HSV | hsv(262, 72%, 99%) |
| CMYK | cmyk(45.2%, 71.8%, 0%, 1.2%) |
| CIE-LAB | lab(48.18, 64.92, -79.61) |
| CIE-LCH | lch(48.18, 102.73, 309.20°) |
| OKLab | oklab(58.23% 0.1021 -0.2281) |
| OKLCH | oklch(58.23% 0.25 294.1) |
| XYZ | xyz(30.3004, 16.9371, 93.7493) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.89
Electric Purple
#AA23FF
ΔE00 5.48
Bluish Purple
#703BE7
ΔE00 6.20
Lightish Purple
#A552E6
ΔE00 6.31
Bright Violet
#AD0AFD
ΔE00 6.52
Blueviolet
#8A2BE2
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A47FC #B9FC47
analogous
#475EFC #8A47FC #E447FC
triadic
#8A47FC #FC8A47 #47FC8A
tetradic
#8A47FC #FC475E #B9FC47 #47FCE4
square
#8A47FC #FC475E #B9FC47 #47FCE4
split-complementary
#8A47FC #FCE447 #5EFC47
monochromatic
#4B03C5 #640BFB #8A47FC #B083FD #D7BFFE
Accessibility & contrast
On white
4.79
#8A47FC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#8A47FC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A47FC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A47FC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A47FC | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006FF8
Tritanopia (blue-blind)
#69769E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8a47fc; /* rgb */ color: rgb(138, 71, 252); /* oklch */ color: oklch(58.2% 0.250 294.1);
Tailwind
colors: {
custom: {
50: '#b580ff',
500: '#8a47fc',
950: '#000000',
},
}SCSS
$custom: #8a47fc; $custom-light: #b580ff; $custom-dark: #000000;
JSON
{
"hex": "#8a47fc",
"rgb": {
"r": 138,
"g": 71,
"b": 252
},
"hsl": {
"h": 262.21,
"s": 96.791,
"l": 63.333
},
"oklch": {
"l": 0.58227,
"c": 0.24994,
"h": 294.1
},
"luminance": 0.16938
}Semantic roles & 50–950 ramp
primary
#8A47FC
secondary
#D8F0AF
accent
#E60091
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86