#A147E2#A147E2
#A147E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.227 H 307.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A147E2 |
|---|---|
| RGB | rgb(161, 71, 226) |
| HSL | hsl(275, 73%, 58%) |
| HSV | hsv(275, 69%, 89%) |
| CMYK | cmyk(28.8%, 68.6%, 0%, 11.4%) |
| CIE-LAB | lab(48.98, 62.90, -63.59) |
| CIE-LCH | lch(48.98, 89.44, 314.69°) |
| OKLab | oklab(58.79% 0.1376 -0.1803) |
| OKLCH | oklch(58.79% 0.227 307.4) |
| XYZ | xyz(30.6758, 17.5749, 73.7130) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.71
Electric Purple
#AA23FF
ΔE00 4.70
Purpley
#8756E4
ΔE00 5.23
Lighter Purple
#A55AF4
ΔE00 5.30
Neon Purple
#BC13FE
ΔE00 5.46
Bright Violet
#AD0AFD
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A147E2 #88E247
analogous
#5347E2 #A147E2 #E247D5
triadic
#A147E2 #E2A147 #47E2A1
tetradic
#A147E2 #E25347 #88E247 #47D5E2
square
#A147E2 #E25347 #88E247 #47D5E2
split-complementary
#A147E2 #D5E247 #47E253
monochromatic
#621897 #8420CC #A147E2 #BC7CEA #D7B1F3
Accessibility & contrast
On white
4.65
#A147E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#A147E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A147E2
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A147E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A147E2 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#966A8F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a147e2; /* rgb */ color: rgb(161, 71, 226); /* oklch */ color: oklch(58.8% 0.227 307.4);
Tailwind
colors: {
custom: {
50: '#c281ec',
500: '#a147e2',
950: '#000000',
},
}SCSS
$custom: #a147e2; $custom-light: #c281ec; $custom-dark: #000000;
JSON
{
"hex": "#a147e2",
"rgb": {
"r": 161,
"g": 71,
"b": 226
},
"hsl": {
"h": 274.839,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.5879,
"c": 0.22679,
"h": 307.4
},
"luminance": 0.17575
}Semantic roles & 50–950 ramp
primary
#A147E2
secondary
#BDE1A4
accent
#EF3885
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84