#A42EDF#A42EDF
#A42EDF is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.251 H 310.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A42EDF |
|---|---|
| RGB | rgb(164, 46, 223) |
| HSL | hsl(280, 73%, 53%) |
| HSV | hsv(280, 79%, 87%) |
| CMYK | cmyk(26.5%, 79.4%, 0%, 12.5%) |
| CIE-LAB | lab(45.87, 72.23, -66.89) |
| CIE-LCH | lch(45.87, 98.45, 317.20°) |
| OKLab | oklab(56.62% 0.1641 -0.1897) |
| OKLCH | oklch(56.62% 0.251 310.9) |
| XYZ | xyz(29.6035, 15.1749, 71.1673) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.62
Darkorchid
#9932CC
ΔE00 3.01
Bright Violet
#AD0AFD
ΔE00 3.73
Violet (survey)
#9A0EEA
ΔE00 3.81
Electric Purple
#AA23FF
ΔE00 4.03
Blueviolet
#8A2BE2
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42EDF #69DF2E
analogous
#4B2EDF #A42EDF #DF2EC1
triadic
#A42EDF #DFA42E #2EDFA4
tetradic
#A42EDF #DF4B2E #69DF2E #2EC1DF
square
#A42EDF #DF4B2E #69DF2E #2EC1DF
split-complementary
#A42EDF #C1DF2E #2EDF4B
monochromatic
#5B137F #811CB4 #A42EDF #BB63E7 #D298EF
Accessibility & contrast
On white
5.20
#A42EDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#A42EDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42EDF
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42EDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42EDF | 1.00 | 5.20 | 4.03 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#9C5B88
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a42edf; /* rgb */ color: rgb(164, 46, 223); /* oklch */ color: oklch(56.6% 0.251 310.9);
Tailwind
colors: {
custom: {
50: '#c575ea',
500: '#a42edf',
950: '#000000',
},
}SCSS
$custom: #a42edf; $custom-light: #c575ea; $custom-dark: #000000;
JSON
{
"hex": "#a42edf",
"rgb": {
"r": 164,
"g": 46,
"b": 223
},
"hsl": {
"h": 280,
"s": 73.444,
"l": 52.745
},
"oklch": {
"l": 0.56616,
"c": 0.25087,
"h": 310.9
},
"luminance": 0.15174
}Semantic roles & 50–950 ramp
primary
#A42EDF
secondary
#A8DB8E
accent
#F03875
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84