#A942E2#A942E2
#A942E2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.2% C 0.235 H 310.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A942E2 |
|---|---|
| RGB | rgb(169, 66, 226) |
| HSL | hsl(279, 73%, 57%) |
| HSV | hsv(279, 71%, 89%) |
| CMYK | cmyk(25.2%, 70.8%, 0%, 11.4%) |
| CIE-LAB | lab(49.28, 66.58, -63.04) |
| CIE-LCH | lch(49.28, 91.69, 316.56°) |
| OKLab | oklab(59.23% 0.1528 -0.1784) |
| OKLCH | oklch(59.23% 0.235 310.6) |
| XYZ | xyz(32.0352, 17.8232, 73.6894) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.10
Electric Purple
#AA23FF
ΔE00 4.48
Neon Purple
#BC13FE
ΔE00 4.55
Bright Purple
#BE03FD
ΔE00 4.79
Bright Violet
#AD0AFD
ΔE00 5.11
Hot Purple
#CB00F5
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A942E2 #7BE242
analogous
#5942E2 #A942E2 #E242CB
triadic
#A942E2 #E2A942 #42E2A9
tetradic
#A942E2 #E25942 #7BE242 #42CBE2
square
#A942E2 #E25942 #7BE242 #42CBE2
split-complementary
#A942E2 #CBE242 #42E259
monochromatic
#671793 #8C1FC8 #A942E2 #C177EA #D9ACF2
Accessibility & contrast
On white
4.60
#A942E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#A942E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A942E2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A942E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A942E2 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#2677DF
Tritanopia (blue-blind)
#A1668E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a942e2; /* rgb */ color: rgb(169, 66, 226); /* oklch */ color: oklch(59.2% 0.235 310.6);
Tailwind
colors: {
custom: {
50: '#c77fec',
500: '#a942e2',
950: '#000000',
},
}SCSS
$custom: #a942e2; $custom-light: #c77fec; $custom-dark: #000000;
JSON
{
"hex": "#a942e2",
"rgb": {
"r": 169,
"g": 66,
"b": 226
},
"hsl": {
"h": 278.625,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.5923,
"c": 0.2349,
"h": 310.6
},
"luminance": 0.17822
}Semantic roles & 50–950 ramp
primary
#A942E2
secondary
#B7E09F
accent
#F03879
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84