#AF97BB#AF97BB
#AF97BB is a light, muted purple. Relative luminance 0.348; OKLCH L 71.0% C 0.058 H 314.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF97BB |
|---|---|
| RGB | rgb(175, 151, 187) |
| HSL | hsl(280, 21%, 66%) |
| HSV | hsv(280, 19%, 73%) |
| CMYK | cmyk(6.4%, 19.3%, 0%, 26.7%) |
| CIE-LAB | lab(65.62, 15.60, -15.35) |
| CIE-LCH | lch(65.62, 21.89, 315.48°) |
| OKLab | oklab(70.96% 0.0406 -0.0414) |
| OKLCH | oklch(70.96% 0.058 314.4) |
| XYZ | xyz(37.7140, 34.8354, 51.7412) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.56
Heather
#A484AC
ΔE00 5.87
Dusty Lavender
#AC86A8
ΔE00 5.97
Lavender
#B39DDB
ΔE00 7.49
Pale Purple
#B790D4
ΔE00 7.78
Purpley Grey
#947E94
ΔE00 9.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF97BB #A3BB97
analogous
#9D97BB #AF97BB #BB97B5
triadic
#AF97BB #BBAF97 #97BBAF
tetradic
#AF97BB #BB9D97 #A3BB97 #97B5BB
square
#AF97BB #BB9D97 #A3BB97 #97B5BB
split-complementary
#AF97BB #B5BB97 #97BB9D
monochromatic
#735582 #9372A3 #AF97BB #CBBCD3 #E8E1EB
Accessibility & contrast
On white
2.64
#AF97BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#AF97BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF97BB
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF97BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF97BB | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929EBD
Deuteranopia (green-blind)
#97A0BA
Tritanopia (blue-blind)
#AE9BA3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #af97bb; /* rgb */ color: rgb(175, 151, 187); /* oklch */ color: oklch(71.0% 0.058 314.4);
Tailwind
colors: {
custom: {
50: '#c7b5cf',
500: '#af97bb',
950: '#000000',
},
}SCSS
$custom: #af97bb; $custom-light: #c7b5cf; $custom-dark: #000000;
JSON
{
"hex": "#af97bb",
"rgb": {
"r": 175,
"g": 151,
"b": 187
},
"hsl": {
"h": 280,
"s": 20.93,
"l": 66.275
},
"oklch": {
"l": 0.70962,
"c": 0.05801,
"h": 314.4
},
"luminance": 0.34835
}Semantic roles & 50–950 ramp
primary
#AF97BB
secondary
#D5DDD1
accent
#9F4664
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082