#A42EC3#A42EC3
#A42EC3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.227 H 318.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A42EC3 |
|---|---|
| RGB | rgb(164, 46, 195) |
| HSL | hsl(288, 62%, 47%) |
| HSV | hsv(288, 76%, 76%) |
| CMYK | cmyk(15.9%, 76.4%, 0%, 23.5%) |
| CIE-LAB | lab(43.93, 66.83, -53.91) |
| CIE-LCH | lch(43.93, 85.86, 321.11°) |
| OKLab | oklab(54.63% 0.1691 -0.1516) |
| OKLCH | oklch(54.63% 0.227 318.1) |
| XYZ | xyz(26.1358, 13.7878, 52.9038) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.67
Barney
#AC1DB8
ΔE00 2.81
Purply
#983FB2
ΔE00 3.45
Vibrant Purple
#AD03DE
ΔE00 3.97
Darkviolet
#9400D3
ΔE00 5.88
Violet (survey)
#9A0EEA
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42EC3 #4DC32E
analogous
#5A2EC3 #A42EC3 #C32E97
triadic
#A42EC3 #C3A42E #2EC3A4
tetradic
#A42EC3 #C35A2E #4DC32E #2E97C3
square
#A42EC3 #C35A2E #4DC32E #2E97C3
split-complementary
#A42EC3 #97C32E #2EC35A
monochromatic
#511760 #7A2291 #A42EC3 #BD57D7 #D088E3
Accessibility & contrast
On white
5.59
#A42EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#A42EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42EC3
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42EC3 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#356BC0
Tritanopia (blue-blind)
#A34E78
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a42ec3; /* rgb */ color: rgb(164, 46, 195); /* oklch */ color: oklch(54.6% 0.227 318.1);
Tailwind
colors: {
custom: {
50: '#c374d6',
500: '#a42ec3',
950: '#000000',
},
}SCSS
$custom: #a42ec3; $custom-light: #c374d6; $custom-dark: #000000;
JSON
{
"hex": "#a42ec3",
"rgb": {
"r": 164,
"g": 46,
"b": 195
},
"hsl": {
"h": 287.517,
"s": 61.826,
"l": 47.255
},
"oklch": {
"l": 0.54634,
"c": 0.22711,
"h": 318.1
},
"luminance": 0.13787
}Semantic roles & 50–950 ramp
primary
#A42EC3
secondary
#90CD80
accent
#E54365
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83