#AF369F#AF369F
#AF369F is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.194 H 333.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF369F |
|---|---|
| RGB | rgb(175, 54, 159) |
| HSL | hsl(308, 53%, 45%) |
| HSV | hsv(308, 69%, 69%) |
| CMYK | cmyk(0%, 69.1%, 9.1%, 31.4%) |
| CIE-LAB | lab(44.60, 60.24, -31.49) |
| CIE-LCH | lch(44.60, 67.98, 332.40°) |
| OKLab | oklab(54.8% 0.1743 -0.0862) |
| OKLCH | oklch(54.8% 0.194 333.7) |
| XYZ | xyz(25.2565, 14.2576, 34.2159) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.48
Medium Purple
#9E43A2
ΔE00 3.66
Barney
#AC1DB8
ΔE00 5.85
Warm Purple
#952E8F
ΔE00 5.86
Purpley Pink
#C83CB9
ΔE00 6.42
Purply
#983FB2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF369F #36AF46
analogous
#8336AF #AF369F #AF3662
triadic
#AF369F #9FAF36 #369FAF
tetradic
#AF369F #AF8336 #36AF46 #3662AF
square
#AF369F #AF8336 #36AF46 #3662AF
split-complementary
#AF369F #62AF36 #36AF83
monochromatic
#51194A #802875 #AF369F #CB57BC #DA86CF
Accessibility & contrast
On white
5.45
#AF369F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#AF369F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF369F
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF369F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF369F | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#5D709C
Tritanopia (blue-blind)
#B74066
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af369f; /* rgb */ color: rgb(175, 54, 159); /* oklch */ color: oklch(54.8% 0.194 333.7);
Tailwind
colors: {
custom: {
50: '#ca77bb',
500: '#af369f',
950: '#000000',
},
}SCSS
$custom: #af369f; $custom-light: #ca77bb; $custom-dark: #000000;
JSON
{
"hex": "#af369f",
"rgb": {
"r": 175,
"g": 54,
"b": 159
},
"hsl": {
"h": 307.934,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.54796,
"c": 0.19445,
"h": 333.7
},
"luminance": 0.14255
}Semantic roles & 50–950 ramp
primary
#AF369F
secondary
#7DC387
accent
#DC5F4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81