#A047E2#A047E2
#A047E2 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.227 H 307.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A047E2 |
|---|---|
| RGB | rgb(160, 71, 226) |
| HSL | hsl(274, 73%, 58%) |
| HSV | hsv(274, 69%, 89%) |
| CMYK | cmyk(29.2%, 68.6%, 0%, 11.4%) |
| CIE-LAB | lab(48.85, 62.70, -63.80) |
| CIE-LCH | lch(48.85, 89.45, 314.50°) |
| OKLab | oklab(58.67% 0.1363 -0.1809) |
| OKLCH | oklch(58.67% 0.227 307) |
| XYZ | xyz(30.4750, 17.4714, 73.7036) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.82
Electric Purple
#AA23FF
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.09
Lighter Purple
#A55AF4
ΔE00 5.36
Bright Violet
#AD0AFD
ΔE00 5.49
Neon Purple
#BC13FE
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A047E2 #89E247
analogous
#5247E2 #A047E2 #E247D6
triadic
#A047E2 #E2A047 #47E2A0
tetradic
#A047E2 #E25247 #89E247 #47D6E2
square
#A047E2 #E25247 #89E247 #47D6E2
split-complementary
#A047E2 #D6E247 #47E252
monochromatic
#611897 #8320CC #A047E2 #BB7CEA #D7B1F3
Accessibility & contrast
On white
4.67
#A047E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#A047E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A047E2
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A047E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A047E2 | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1975DF
Tritanopia (blue-blind)
#956A8F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a047e2; /* rgb */ color: rgb(160, 71, 226); /* oklch */ color: oklch(58.7% 0.227 307.0);
Tailwind
colors: {
custom: {
50: '#c181ec',
500: '#a047e2',
950: '#000000',
},
}SCSS
$custom: #a047e2; $custom-light: #c181ec; $custom-dark: #000000;
JSON
{
"hex": "#a047e2",
"rgb": {
"r": 160,
"g": 71,
"b": 226
},
"hsl": {
"h": 274.452,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.58672,
"c": 0.22653,
"h": 307
},
"luminance": 0.17471
}Semantic roles & 50–950 ramp
primary
#A047E2
secondary
#BEE1A4
accent
#EF3886
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84