#AF36A5#AF36A5
#AF36A5 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.199 H 331.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF36A5 |
|---|---|
| RGB | rgb(175, 54, 165) |
| HSL | hsl(305, 53%, 45%) |
| HSV | hsv(305, 69%, 69%) |
| CMYK | cmyk(0%, 69.1%, 5.7%, 31.4%) |
| CIE-LAB | lab(44.90, 61.19, -34.60) |
| CIE-LCH | lch(44.90, 70.30, 330.52°) |
| OKLab | oklab(55.11% 0.1748 -0.0951) |
| OKLCH | oklch(55.11% 0.199 331.4) |
| XYZ | xyz(25.7899, 14.4709, 37.0249) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.38
Medium Purple
#9E43A2
ΔE00 3.30
Barney
#AC1DB8
ΔE00 4.93
Purply
#983FB2
ΔE00 5.72
Purpley Pink
#C83CB9
ΔE00 5.98
Warm Purple
#952E8F
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF36A5 #36AF40
analogous
#7D36AF #AF36A5 #AF3668
triadic
#AF36A5 #A5AF36 #36A5AF
tetradic
#AF36A5 #AF7D36 #36AF40 #3668AF
square
#AF36A5 #AF7D36 #36AF40 #3668AF
split-complementary
#AF36A5 #68AF36 #36AF7D
monochromatic
#51194D #802879 #AF36A5 #CB57C2 #DA86D3
Accessibility & contrast
On white
5.39
#AF36A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#AF36A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF36A5
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF36A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF36A5 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5FA8
Deuteranopia (green-blind)
#5B70A2
Tritanopia (blue-blind)
#B64369
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af36a5; /* rgb */ color: rgb(175, 54, 165); /* oklch */ color: oklch(55.1% 0.199 331.4);
Tailwind
colors: {
custom: {
50: '#ca78c0',
500: '#af36a5',
950: '#000000',
},
}SCSS
$custom: #af36a5; $custom-light: #ca78c0; $custom-dark: #000000;
JSON
{
"hex": "#af36a5",
"rgb": {
"r": 175,
"g": 54,
"b": 165
},
"hsl": {
"h": 304.959,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.55111,
"c": 0.19899,
"h": 331.4
},
"luminance": 0.14469
}Semantic roles & 50–950 ramp
primary
#AF36A5
secondary
#7DC383
accent
#DC584C
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81