#AF2CAD#AF2CAD
#AF2CAD is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 328.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2CAD |
|---|---|
| RGB | rgb(175, 44, 173) |
| HSL | hsl(301, 60%, 43%) |
| HSV | hsv(301, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 1.1%, 31.4%) |
| CIE-LAB | lab(44.14, 65.86, -40.55) |
| CIE-LCH | lch(44.14, 77.35, 328.38°) |
| OKLab | oklab(54.7% 0.1847 -0.1123) |
| OKLCH | oklch(54.7% 0.216 328.7) |
| XYZ | xyz(26.1224, 13.9344, 40.8408) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.82
Ugly Purple
#A442A0
ΔE00 3.85
Medium Purple
#9E43A2
ΔE00 4.05
Purply
#983FB2
ΔE00 4.81
Barney Purple
#A00498
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2CAD #2CAF2E
analogous
#6F2CAF #AF2CAD #AF2C6B
triadic
#AF2CAD #ADAF2C #2CADAF
tetradic
#AF2CAD #AF6F2C #2CAF2E #2C6BAF
square
#AF2CAD #AF6F2C #2CAF2E #2C6BAF
split-complementary
#AF2CAD #6BAF2C #2CAF6F
monochromatic
#4D134C #7E207D #AF2CAD #D147CF #DD78DC
Accessibility & contrast
On white
5.55
#AF2CAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#AF2CAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2CAD
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2CAD | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125DB0
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#B5406B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af2cad; /* rgb */ color: rgb(175, 44, 173); /* oklch */ color: oklch(54.7% 0.216 328.7);
Tailwind
colors: {
custom: {
50: '#cb74c6',
500: '#af2cad',
950: '#000000',
},
}SCSS
$custom: #af2cad; $custom-light: #cb74c6; $custom-dark: #000000;
JSON
{
"hex": "#af2cad",
"rgb": {
"r": 175,
"g": 44,
"b": 173
},
"hsl": {
"h": 300.916,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.54702,
"c": 0.21617,
"h": 328.7
},
"luminance": 0.13932
}Semantic roles & 50–950 ramp
primary
#AF2CAD
secondary
#72C573
accent
#E34745
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82