#AF389F#AF389F
#AF389F is a mid, vivid purple. Relative luminance 0.144; OKLCH L 55.0% C 0.192 H 333.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF389F |
|---|---|
| RGB | rgb(175, 56, 159) |
| HSL | hsl(308, 52%, 45%) |
| HSV | hsv(308, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 9.1%, 31.4%) |
| CIE-LAB | lab(44.87, 59.49, -31.07) |
| CIE-LCH | lch(44.87, 67.12, 332.42°) |
| OKLab | oklab(54.99% 0.1721 -0.085) |
| OKLCH | oklch(54.99% 0.192 333.7) |
| XYZ | xyz(25.3515, 14.4476, 34.2476) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.35
Medium Purple
#9E43A2
ΔE00 3.62
Warm Purple
#952E8F
ΔE00 6.06
Barney
#AC1DB8
ΔE00 6.07
Purpley Pink
#C83CB9
ΔE00 6.27
Purply
#983FB2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF389F #38AF48
analogous
#8338AF #AF389F #AF3864
triadic
#AF389F #9FAF38 #389FAF
tetradic
#AF389F #AF8338 #38AF48 #3864AF
square
#AF389F #AF8338 #38AF48 #3864AF
split-complementary
#AF389F #64AF38 #38AF83
monochromatic
#521A4B #812975 #AF389F #CA5ABB #D988CE
Accessibility & contrast
On white
5.40
#AF389F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#AF389F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF389F
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF389F | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#B74267
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af389f; /* rgb */ color: rgb(175, 56, 159); /* oklch */ color: oklch(55.0% 0.192 333.7);
Tailwind
colors: {
custom: {
50: '#ca78bb',
500: '#af389f',
950: '#000000',
},
}SCSS
$custom: #af389f; $custom-light: #ca78bb; $custom-dark: #000000;
JSON
{
"hex": "#af389f",
"rgb": {
"r": 175,
"g": 56,
"b": 159
},
"hsl": {
"h": 308.067,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.5499,
"c": 0.19195,
"h": 333.7
},
"luminance": 0.14446
}Semantic roles & 50–950 ramp
primary
#AF389F
secondary
#80C389
accent
#DB604D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81