#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
RGBrgb(175, 153, 191)
HSLhsl(275, 23%, 67%)
HSVhsv(275, 20%, 75%)
CMYKcmyk(8.4%, 19.9%, 0%, 25.1%)
CIE-LABlab(66.26, 15.30, -16.62)
CIE-LCHlch(66.26, 22.59, 312.64°)
OKLaboklab(71.5% 0.0389 -0.045)
OKLCHoklch(71.5% 0.059 310.9)
XYZxyz(38.4728, 35.6583, 54.1361)
Luminance0.3566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##AF99BF1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.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

Preview Lab

Preview with #AF99BF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF99BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva