#AF9DB2#AF9DB2

#AF9DB2 is a light, muted purple. Relative luminance 0.364; OKLCH L 71.8% C 0.036 H 321.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#AF9DB2
RGBrgb(175, 157, 178)
HSLhsl(291, 12%, 66%)
HSVhsv(291, 12%, 70%)
CMYKcmyk(1.7%, 11.8%, 0%, 30.2%)
CIE-LABlab(66.86, 10.46, -8.46)
CIE-LCHlch(66.86, 13.45, 321.03°)
OKLaboklab(71.83% 0.0283 -0.0226)
OKLCHoklch(71.83% 0.036 321.4)
XYZxyz(37.7709, 36.4427, 47.1552)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9DB2 #A0B29D
analogous
#A49DB2 #AF9DB2 #B29DAA
triadic
#AF9DB2 #B2AF9D #9DB2AF
tetradic
#AF9DB2 #B2A49D #A0B29D #9DAAB2
square
#AF9DB2 #B2A49D #A0B29D #9DAAB2
split-complementary
#AF9DB2 #AAB29D #9DB2A4
monochromatic
#735E77 #937B97 #AF9DB2 #CBBFCD #E7E2E8

Accessibility & contrast

On white

2.53
#AF9DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#AF9DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9DB2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9DB2#FFFFFF#000000##000000
##AF9DB21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA1B3
Deuteranopia (green-blind)
#9FA3B1
Tritanopia (blue-blind)
#B09FA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #af9db2;
/* rgb */ color: rgb(175, 157, 178);
/* oklch */ color: oklch(71.8% 0.036 321.4);
Tailwind
colors: {
  custom: {
    50: '#c7bac9',
    500: '#af9db2',
    950: '#000000',
  },
}
SCSS
$custom: #af9db2;
$custom-light: #c7bac9;
$custom-dark: #000000;
JSON
{
  "hex": "#af9db2",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 178
  },
  "hsl": {
    "h": 291.429,
    "s": 12,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71826,
    "c": 0.0362,
    "h": 321.4
  },
  "luminance": 0.36442
}

Semantic roles & 50–950 ramp

primary
#AF9DB2
secondary
#D3D9D2
accent
#964F5A
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131113
muted
#828082

Preview Lab

Preview with #AF9DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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