#AF97AF#AF97AF
#AF97AF is a light, muted purple. Relative luminance 0.343; OKLCH L 70.5% C 0.044 H 326.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AF97AF |
|---|---|
| RGB | rgb(175, 151, 175) |
| HSL | hsl(300, 13%, 64%) |
| HSV | hsv(300, 14%, 69%) |
| CMYK | cmyk(0%, 13.7%, 0%, 31.4%) |
| CIE-LAB | lab(65.23, 13.23, -9.20) |
| CIE-LCH | lch(65.23, 16.11, 325.18°) |
| OKLab | oklab(70.54% 0.0364 -0.0245) |
| OKLCH | oklch(70.54% 0.044 326) |
| XYZ | xyz(36.4827, 34.3429, 45.2561) |
| Luminance | 0.3434 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dusty Lavender
#AC86A8
ΔE00 6.21
Lilac
#C8A2C8
ΔE00 6.82
Heather
#A484AC
ΔE00 7.29
Light Mauve
#C292A1
ΔE00 7.75
Purpley Grey
#947E94
ΔE00 8.60
Grey Pink
#C3909B
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF97AF #97AF97
analogous
#A397AF #AF97AF #AF97A3
triadic
#AF97AF #AFAF97 #97AFAF
tetradic
#AF97AF #AFA397 #97AF97 #97A3AF
square
#AF97AF #AFA397 #97AF97 #97A3AF
split-complementary
#AF97AF #A3AF97 #97AFA3
monochromatic
#735973 #947494 #AF97AF #CABACA #E4DCE4
Accessibility & contrast
On white
2.67
#AF97AF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#AF97AF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF97AF
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF97AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF97AF | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#969DB0
Deuteranopia (green-blind)
#9B9FAE
Tritanopia (blue-blind)
#B1999F
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af97af; /* rgb */ color: rgb(175, 151, 175); /* oklch */ color: oklch(70.5% 0.044 326.0);
Tailwind
colors: {
custom: {
50: '#c7b5c6',
500: '#af97af',
950: '#000000',
},
}SCSS
$custom: #af97af; $custom-light: #c7b5c6; $custom-dark: #000000;
JSON
{
"hex": "#af97af",
"rgb": {
"r": 175,
"g": 151,
"b": 175
},
"hsl": {
"h": 300,
"s": 13.043,
"l": 63.922
},
"oklch": {
"l": 0.70535,
"c": 0.04392,
"h": 326
},
"luminance": 0.34342
}Semantic roles & 50–950 ramp
primary
#AF97AF
secondary
#CDD5CD
accent
#974E4E
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131113
muted
#828082