#AD42C7#AD42C7
#AD42C7 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.211 H 319.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AD42C7 |
|---|---|
| RGB | rgb(173, 66, 199) |
| HSL | hsl(288, 54%, 52%) |
| HSV | hsv(288, 67%, 78%) |
| CMYK | cmyk(13.1%, 66.8%, 0%, 22%) |
| CIE-LAB | lab(48.14, 62.02, -49.40) |
| CIE-LCH | lch(48.14, 79.29, 321.46°) |
| OKLab | oklab(57.99% 0.16 -0.1383) |
| OKLCH | oklch(57.99% 0.211 319.2) |
| XYZ | xyz(29.4893, 16.9055, 55.7315) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.98
Mediumorchid
#BA55D3
ΔE00 5.55
Barney
#AC1DB8
ΔE00 5.70
Darkorchid
#9932CC
ΔE00 5.70
Lightish Purple
#A552E6
ΔE00 6.25
Purpley Pink
#C83CB9
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD42C7 #5CC742
analogous
#6B42C7 #AD42C7 #C7429E
triadic
#AD42C7 #C7AD42 #42C7AD
tetradic
#AD42C7 #C76B42 #5CC742 #429EC7
square
#AD42C7 #C76B42 #5CC742 #429EC7
split-complementary
#AD42C7 #9EC742 #42C76B
monochromatic
#5F216E #882F9D #AD42C7 #C171D5 #D6A0E3
Accessibility & contrast
On white
4.79
#AD42C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#AD42C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AD42C7
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD42C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AD42C7 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#AD5A7F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ad42c7; /* rgb */ color: rgb(173, 66, 199); /* oklch */ color: oklch(58.0% 0.211 319.2);
Tailwind
colors: {
custom: {
50: '#c97ed9',
500: '#ad42c7',
950: '#000000',
},
}SCSS
$custom: #ad42c7; $custom-light: #c97ed9; $custom-dark: #000000;
JSON
{
"hex": "#ad42c7",
"rgb": {
"r": 173,
"g": 66,
"b": 199
},
"hsl": {
"h": 288.271,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.57988,
"c": 0.21146,
"h": 319.2
},
"luminance": 0.16904
}Semantic roles & 50–950 ramp
primary
#AD42C7
secondary
#A1D095
accent
#DE4A67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83