#AF99BF#AF99BF
#AF99BF is a light, muted violet. Relative luminance 0.357; OKLCH L 71.5% C 0.059 H 310.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #AF99BF |
|---|---|
| RGB | rgb(175, 153, 191) |
| HSL | hsl(275, 23%, 67%) |
| HSV | hsv(275, 20%, 75%) |
| CMYK | cmyk(8.4%, 19.9%, 0%, 25.1%) |
| CIE-LAB | lab(66.26, 15.30, -16.62) |
| CIE-LCH | lch(66.26, 22.59, 312.64°) |
| OKLab | oklab(71.5% 0.0389 -0.045) |
| OKLCH | oklch(71.5% 0.059 310.9) |
| XYZ | xyz(38.4728, 35.6583, 54.1361) |
| Luminance | 0.3566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac
#C8A2C8
ΔE00 5.67
Heather
#A484AC
ΔE00 6.53
Lavender
#B39DDB
ΔE00 6.59
Dusty Lavender
#AC86A8
ΔE00 6.91
Pale Purple
#B790D4
ΔE00 7.34
Wisteria
#A87DC2
ΔE00 10.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF99BF #A9BF99
analogous
#9C99BF #AF99BF #BF99BC
triadic
#AF99BF #BFAF99 #99BFAF
tetradic
#AF99BF #BF9C99 #A9BF99 #99BCBF
square
#AF99BF #BF9C99 #A9BF99 #99BCBF
split-complementary
#AF99BF #BCBF99 #99BF9C
monochromatic
#735588 #9273A7 #AF99BF #CCBFD7 #EAE4EE
Accessibility & contrast
On white
2.58
#AF99BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#AF99BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF99BF
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF99BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF99BF | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A0C1
Deuteranopia (green-blind)
#98A2BE
Tritanopia (blue-blind)
#AE9EA6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #af99bf; /* rgb */ color: rgb(175, 153, 191); /* oklch */ color: oklch(71.5% 0.059 310.9);
Tailwind
colors: {
custom: {
50: '#c7b7d2',
500: '#af99bf',
950: '#000000',
},
}SCSS
$custom: #af99bf; $custom-light: #c7b7d2; $custom-dark: #000000;
JSON
{
"hex": "#af99bf",
"rgb": {
"r": 175,
"g": 153,
"b": 191
},
"hsl": {
"h": 274.737,
"s": 22.892,
"l": 67.451
},
"oklch": {
"l": 0.715,
"c": 0.05947,
"h": 310.9
},
"luminance": 0.35658
}Semantic roles & 50–950 ramp
primary
#AF99BF
secondary
#D9E0D4
accent
#A1446B
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082