#A42CDF#A42CDF
#A42CDF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.5% C 0.253 H 311.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A42CDF |
|---|---|
| RGB | rgb(164, 44, 223) |
| HSL | hsl(280, 74%, 52%) |
| HSV | hsv(280, 80%, 87%) |
| CMYK | cmyk(26.5%, 80.3%, 0%, 12.5%) |
| CIE-LAB | lab(45.66, 72.84, -67.23) |
| CIE-LCH | lch(45.66, 99.12, 317.29°) |
| OKLab | oklab(56.47% 0.1656 -0.1907) |
| OKLCH | oklch(56.47% 0.253 311) |
| XYZ | xyz(29.5272, 15.0223, 71.1419) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.42
Darkorchid
#9932CC
ΔE00 2.94
Violet (survey)
#9A0EEA
ΔE00 3.61
Bright Violet
#AD0AFD
ΔE00 3.71
Electric Purple
#AA23FF
ΔE00 4.09
Vivid Purple
#9900FA
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42CDF #67DF2C
analogous
#4A2CDF #A42CDF #DF2CC1
triadic
#A42CDF #DFA42C #2CDFA4
tetradic
#A42CDF #DF4A2C #67DF2C #2CC1DF
square
#A42CDF #DF4A2C #67DF2C #2CC1DF
split-complementary
#A42CDF #C1DF2C #2CDF4A
monochromatic
#5A137E #811BB3 #A42CDF #BB61E7 #D296EF
Accessibility & contrast
On white
5.24
#A42CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#A42CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42CDF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42CDF | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#9C5A87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a42cdf; /* rgb */ color: rgb(164, 44, 223); /* oklch */ color: oklch(56.5% 0.253 311.0);
Tailwind
colors: {
custom: {
50: '#c574ea',
500: '#a42cdf',
950: '#000000',
},
}SCSS
$custom: #a42cdf; $custom-light: #c574ea; $custom-dark: #000000;
JSON
{
"hex": "#a42cdf",
"rgb": {
"r": 164,
"g": 44,
"b": 223
},
"hsl": {
"h": 280.223,
"s": 73.663,
"l": 52.353
},
"oklch": {
"l": 0.56471,
"c": 0.25255,
"h": 311
},
"luminance": 0.15022
}Semantic roles & 50–950 ramp
primary
#A42CDF
secondary
#A6DA8C
accent
#F03774
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84