#AF36A1#AF36A1
#AF36A1 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.196 H 332.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF36A1 |
|---|---|
| RGB | rgb(175, 54, 161) |
| HSL | hsl(307, 53%, 45%) |
| HSV | hsv(307, 69%, 69%) |
| CMYK | cmyk(0%, 69.1%, 8%, 31.4%) |
| CIE-LAB | lab(44.70, 60.56, -32.53) |
| CIE-LCH | lch(44.70, 68.74, 331.76°) |
| OKLab | oklab(54.9% 0.1745 -0.0892) |
| OKLCH | oklch(54.9% 0.196 332.9) |
| XYZ | xyz(25.4315, 14.3276, 35.1374) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.38
Medium Purple
#9E43A2
ΔE00 3.50
Barney
#AC1DB8
ΔE00 5.53
Warm Purple
#952E8F
ΔE00 5.93
Purpley Pink
#C83CB9
ΔE00 6.26
Purply
#983FB2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF36A1 #36AF44
analogous
#8036AF #AF36A1 #AF3665
triadic
#AF36A1 #A1AF36 #36A1AF
tetradic
#AF36A1 #AF8036 #36AF44 #3665AF
square
#AF36A1 #AF8036 #36AF44 #3665AF
split-complementary
#AF36A1 #65AF36 #36AF80
monochromatic
#51194B #802876 #AF36A1 #CB57BE #DA86D0
Accessibility & contrast
On white
5.43
#AF36A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#AF36A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF36A1
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF36A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF36A1 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315FA4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B74167
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af36a1; /* rgb */ color: rgb(175, 54, 161); /* oklch */ color: oklch(54.9% 0.196 332.9);
Tailwind
colors: {
custom: {
50: '#ca77bd',
500: '#af36a1',
950: '#000000',
},
}SCSS
$custom: #af36a1; $custom-light: #ca77bd; $custom-dark: #000000;
JSON
{
"hex": "#af36a1",
"rgb": {
"r": 175,
"g": 54,
"b": 161
},
"hsl": {
"h": 306.942,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.549,
"c": 0.19595,
"h": 332.9
},
"luminance": 0.14326
}Semantic roles & 50–950 ramp
primary
#AF36A1
secondary
#7DC386
accent
#DC5C4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81