#A247E3#A247E3
#A247E3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.228 H 307.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A247E3 |
|---|---|
| RGB | rgb(162, 71, 227) |
| HSL | hsl(275, 74%, 58%) |
| HSV | hsv(275, 69%, 89%) |
| CMYK | cmyk(28.6%, 68.7%, 0%, 11%) |
| CIE-LAB | lab(49.17, 63.32, -63.83) |
| CIE-LCH | lch(49.17, 89.91, 314.77°) |
| OKLab | oklab(58.98% 0.1388 -0.181) |
| OKLCH | oklch(58.98% 0.228 307.5) |
| XYZ | xyz(31.0157, 17.7343, 74.4473) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.56
Electric Purple
#AA23FF
ΔE00 4.64
Lighter Purple
#A55AF4
ΔE00 5.14
Purpley
#8756E4
ΔE00 5.32
Neon Purple
#BC13FE
ΔE00 5.33
Bright Violet
#AD0AFD
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A247E3 #88E347
analogous
#5447E3 #A247E3 #E347D6
triadic
#A247E3 #E3A247 #47E3A2
tetradic
#A247E3 #E35447 #88E347 #47D6E3
square
#A247E3 #E35447 #88E347 #47D6E3
split-complementary
#A247E3 #D6E347 #47E354
monochromatic
#631798 #851FCE #A247E3 #BD7CEB #D8B1F3
Accessibility & contrast
On white
4.62
#A247E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#A247E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A247E3
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A247E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A247E3 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#1C76E0
Tritanopia (blue-blind)
#976A90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a247e3; /* rgb */ color: rgb(162, 71, 227); /* oklch */ color: oklch(59.0% 0.228 307.5);
Tailwind
colors: {
custom: {
50: '#c281ed',
500: '#a247e3',
950: '#000000',
},
}SCSS
$custom: #a247e3; $custom-light: #c281ed; $custom-dark: #000000;
JSON
{
"hex": "#a247e3",
"rgb": {
"r": 162,
"g": 71,
"b": 227
},
"hsl": {
"h": 275,
"s": 73.585,
"l": 58.431
},
"oklch": {
"l": 0.58979,
"c": 0.22804,
"h": 307.5
},
"luminance": 0.17734
}Semantic roles & 50–950 ramp
primary
#A247E3
secondary
#BEE2A4
accent
#F03885
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84