#AF41AA#AF41AA
#AF41AA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.189 H 329.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF41AA |
|---|---|
| RGB | rgb(175, 65, 170) |
| HSL | hsl(303, 46%, 47%) |
| HSV | hsv(303, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 2.9%, 31.4%) |
| CIE-LAB | lab(46.71, 57.67, -34.71) |
| CIE-LCH | lch(46.71, 67.31, 328.96°) |
| OKLab | oklab(56.5% 0.1627 -0.0955) |
| OKLCH | oklch(56.5% 0.189 329.6) |
| XYZ | xyz(26.8250, 15.7987, 39.6590) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.42
Medium Purple
#9E43A2
ΔE00 3.28
Purpley Pink
#C83CB9
ΔE00 4.82
Purply
#983FB2
ΔE00 5.69
Barney
#AC1DB8
ΔE00 5.92
Pinky Purple
#C94CBE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF41AA #41AF46
analogous
#7D41AF #AF41AA #AF4173
triadic
#AF41AA #AAAF41 #41AAAF
tetradic
#AF41AA #AF7D41 #41AF46 #4173AF
square
#AF41AA #AF7D41 #41AF46 #4173AF
split-complementary
#AF41AA #73AF41 #41AF7D
monochromatic
#562053 #82307F #AF41AA #C667C2 #D793D4
Accessibility & contrast
On white
5.05
#AF41AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AF41AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF41AA
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF41AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF41AA | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#B54D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af41aa; /* rgb */ color: rgb(175, 65, 170); /* oklch */ color: oklch(56.5% 0.189 329.6);
Tailwind
colors: {
custom: {
50: '#ca7dc3',
500: '#af41aa',
950: '#000000',
},
}SCSS
$custom: #af41aa; $custom-light: #ca7dc3; $custom-dark: #000000;
JSON
{
"hex": "#af41aa",
"rgb": {
"r": 175,
"g": 65,
"b": 170
},
"hsl": {
"h": 302.727,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.56503,
"c": 0.18866,
"h": 329.6
},
"luminance": 0.15797
}Semantic roles & 50–950 ramp
primary
#AF41AA
secondary
#89C28C
accent
#D55852
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140A12
muted
#827C81