#A249E4#A249E4
#A249E4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.227 H 307.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A249E4 |
|---|---|
| RGB | rgb(162, 73, 228) |
| HSL | hsl(274, 74%, 59%) |
| HSV | hsv(274, 68%, 89%) |
| CMYK | cmyk(28.9%, 68%, 0%, 10.6%) |
| CIE-LAB | lab(49.55, 62.66, -63.78) |
| CIE-LCH | lch(49.55, 89.41, 314.49°) |
| OKLab | oklab(59.27% 0.1366 -0.1808) |
| OKLCH | oklch(59.27% 0.227 307.1) |
| XYZ | xyz(31.2835, 18.0483, 75.2194) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.14
Lighter Purple
#A55AF4
ΔE00 4.70
Electric Purple
#AA23FF
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.14
Neon Purple
#BC13FE
ΔE00 5.47
Bright Violet
#AD0AFD
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A249E4 #8BE449
analogous
#5549E4 #A249E4 #E449D8
triadic
#A249E4 #E4A249 #49E4A2
tetradic
#A249E4 #E45549 #8BE449 #49D8E4
square
#A249E4 #E45549 #8BE449 #49D8E4
split-complementary
#A249E4 #D8E449 #49E455
monochromatic
#63179C #851FD1 #A249E4 #BD7EEC #D8B4F4
Accessibility & contrast
On white
4.56
#A249E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#A249E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A249E4
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A249E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A249E4 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#1E76E1
Tritanopia (blue-blind)
#976B91
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a249e4; /* rgb */ color: rgb(162, 73, 228); /* oklch */ color: oklch(59.3% 0.227 307.1);
Tailwind
colors: {
custom: {
50: '#c282ed',
500: '#a249e4',
950: '#000000',
},
}SCSS
$custom: #a249e4; $custom-light: #c282ed; $custom-dark: #000000;
JSON
{
"hex": "#a249e4",
"rgb": {
"r": 162,
"g": 73,
"b": 228
},
"hsl": {
"h": 274.452,
"s": 74.163,
"l": 59.02
},
"oklch": {
"l": 0.59273,
"c": 0.22661,
"h": 307.1
},
"luminance": 0.18048
}Semantic roles & 50–950 ramp
primary
#A249E4
secondary
#C0E3A6
accent
#F13786
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84