#AF89B2#AF89B2
#AF89B2 is a light, moderate purple. Relative luminance 0.302; OKLCH L 68.0% C 0.073 H 324.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AF89B2 |
|---|---|
| RGB | rgb(175, 137, 178) |
| HSL | hsl(296, 21%, 62%) |
| HSV | hsv(296, 23%, 70%) |
| CMYK | cmyk(1.7%, 23%, 0%, 30.2%) |
| CIE-LAB | lab(61.84, 21.68, -15.99) |
| CIE-LCH | lch(61.84, 26.94, 323.60°) |
| OKLab | oklab(67.95% 0.0592 -0.0431) |
| OKLCH | oklch(67.95% 0.073 324) |
| XYZ | xyz(34.6598, 30.2204, 46.1182) |
| Luminance | 0.3022 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Dusty Lavender
#AC86A8
ΔE00 2.38
Heather
#A484AC
ΔE00 2.61
Wisteria
#A87DC2
ΔE00 7.35
Pale Purple
#B790D4
ΔE00 7.45
Lilac
#C8A2C8
ΔE00 7.53
Purpley Grey
#947E94
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF89B2 #8CB289
analogous
#9B89B2 #AF89B2 #B289A1
triadic
#AF89B2 #B2AF89 #89B2AF
tetradic
#AF89B2 #B29B89 #8CB289 #89A1B2
square
#AF89B2 #B29B89 #8CB289 #89A1B2
split-complementary
#AF89B2 #A1B289 #89B29B
monochromatic
#724C75 #96649A #AF89B2 #C8AECA #E1D3E2
Accessibility & contrast
On white
2.98
#AF89B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#AF89B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF89B2
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF89B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF89B2 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#8E97B1
Tritanopia (blue-blind)
#B18D97
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #af89b2; /* rgb */ color: rgb(175, 137, 178); /* oklch */ color: oklch(68.0% 0.073 324.0);
Tailwind
colors: {
custom: {
50: '#c7abc9',
500: '#af89b2',
950: '#000000',
},
}SCSS
$custom: #af89b2; $custom-light: #c7abc9; $custom-dark: #000000;
JSON
{
"hex": "#af89b2",
"rgb": {
"r": 175,
"g": 137,
"b": 178
},
"hsl": {
"h": 295.61,
"s": 21.026,
"l": 61.765
},
"oklch": {
"l": 0.67951,
"c": 0.07322,
"h": 324
},
"luminance": 0.3022
}Semantic roles & 50–950 ramp
primary
#AF89B2
secondary
#C5D3C4
accent
#9F464D
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82