#AF97BD#AF97BD
#AF97BD is a light, moderate violet. Relative luminance 0.349; OKLCH L 71.0% C 0.061 H 313.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AF97BD |
|---|---|
| RGB | rgb(175, 151, 189) |
| HSL | hsl(278, 22%, 67%) |
| HSV | hsv(278, 20%, 74%) |
| CMYK | cmyk(7.4%, 20.1%, 0%, 25.9%) |
| CIE-LAB | lab(65.69, 16.01, -16.36) |
| CIE-LCH | lch(65.69, 22.89, 314.38°) |
| OKLab | oklab(71.04% 0.0413 -0.0442) |
| OKLCH | oklch(71.04% 0.061 313) |
| XYZ | xyz(37.9296, 34.9217, 52.8766) |
| Luminance | 0.3492 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.60
Heather
#A484AC
ΔE00 5.87
Dusty Lavender
#AC86A8
ΔE00 6.18
Lavender
#B39DDB
ΔE00 6.92
Pale Purple
#B790D4
ΔE00 7.23
Wisteria
#A87DC2
ΔE00 9.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF97BD #A5BD97
analogous
#9C97BD #AF97BD #BD97B8
triadic
#AF97BD #BDAF97 #97BDAF
tetradic
#AF97BD #BD9C97 #A5BD97 #97B8BD
square
#AF97BD #BD9C97 #A5BD97 #97B8BD
split-complementary
#AF97BD #B8BD97 #97BD9C
monochromatic
#735485 #9272A5 #AF97BD #CCBCD5 #E9E2ED
Accessibility & contrast
On white
2.63
#AF97BD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#AF97BD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF97BD
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF97BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF97BD | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929EBF
Deuteranopia (green-blind)
#97A0BC
Tritanopia (blue-blind)
#AE9BA4
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #af97bd; /* rgb */ color: rgb(175, 151, 189); /* oklch */ color: oklch(71.0% 0.061 313.0);
Tailwind
colors: {
custom: {
50: '#c7b5d1',
500: '#af97bd',
950: '#000000',
},
}SCSS
$custom: #af97bd; $custom-light: #c7b5d1; $custom-dark: #000000;
JSON
{
"hex": "#af97bd",
"rgb": {
"r": 175,
"g": 151,
"b": 189
},
"hsl": {
"h": 277.895,
"s": 22.353,
"l": 66.667
},
"oklch": {
"l": 0.71036,
"c": 0.06052,
"h": 313
},
"luminance": 0.34921
}Semantic roles & 50–950 ramp
primary
#AF97BD
secondary
#D6DED2
accent
#A14567
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082