#AF89BB#AF89BB
#AF89BB is a light, moderate purple. Relative luminance 0.306; OKLCH L 68.3% C 0.084 H 317.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF89BB |
|---|---|
| RGB | rgb(175, 137, 187) |
| HSL | hsl(286, 27%, 64%) |
| HSV | hsv(286, 27%, 73%) |
| CMYK | cmyk(6.4%, 26.7%, 0%, 26.7%) |
| CIE-LAB | lab(62.16, 23.49, -20.59) |
| CIE-LCH | lch(62.16, 31.23, 318.75°) |
| OKLab | oklab(68.3% 0.062 -0.0559) |
| OKLCH | oklch(68.3% 0.084 317.9) |
| XYZ | xyz(35.5932, 30.5938, 51.0343) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heather
#A484AC
ΔE00 3.56
Dusty Lavender
#AC86A8
ΔE00 4.80
Pale Purple
#B790D4
ΔE00 5.14
Wisteria
#A87DC2
ΔE00 5.28
Lavender
#B39DDB
ΔE00 7.89
Lilac
#C8A2C8
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF89BB #95BB89
analogous
#9689BB #AF89BB #BB89AE
triadic
#AF89BB #BBAF89 #89BBAF
tetradic
#AF89BB #BB9689 #95BB89 #89AEBB
square
#AF89BB #BB9689 #95BB89 #89AEBB
split-complementary
#AF89BB #AEBB89 #89BB96
monochromatic
#734A80 #9562A5 #AF89BB #C9B0D1 #E4D7E8
Accessibility & contrast
On white
2.95
#AF89BB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#AF89BB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF89BB
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF89BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF89BB | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8394BD
Deuteranopia (green-blind)
#8B98B9
Tritanopia (blue-blind)
#AF8F9B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af89bb; /* rgb */ color: rgb(175, 137, 187); /* oklch */ color: oklch(68.3% 0.084 317.9);
Tailwind
colors: {
custom: {
50: '#c7abcf',
500: '#af89bb',
950: '#000000',
},
}SCSS
$custom: #af89bb; $custom-light: #c7abcf; $custom-dark: #000000;
JSON
{
"hex": "#af89bb",
"rgb": {
"r": 175,
"g": 137,
"b": 187
},
"hsl": {
"h": 285.6,
"s": 26.882,
"l": 63.529
},
"oklch": {
"l": 0.68302,
"c": 0.0835,
"h": 317.9
},
"luminance": 0.30593
}Semantic roles & 50–950 ramp
primary
#AF89BB
secondary
#CBD9C7
accent
#A54058
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82