#AFA4B2#AFA4B2

#AFA4B2 is a light, muted purple. Relative luminance 0.389; OKLCH L 73.2% C 0.023 H 319.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AFA4B2
RGBrgb(175, 164, 178)
HSLhsl(287, 8%, 67%)
HSVhsv(287, 8%, 70%)
CMYKcmyk(1.7%, 7.9%, 0%, 30.2%)
CIE-LABlab(68.66, 6.58, -5.78)
CIE-LCHlch(68.66, 8.76, 318.72°)
OKLaboklab(73.23% 0.0177 -0.0154)
OKLCHoklch(73.23% 0.023 319)
XYZxyz(38.9893, 38.8795, 47.5613)
Luminance0.3888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4B2 #A7B2A4
analogous
#A8A4B2 #AFA4B2 #B2A4AE
triadic
#AFA4B2 #B2AFA4 #A4B2AF
tetradic
#AFA4B2 #B2A8A4 #A7B2A4 #A4AEB2
square
#AFA4B2 #B2A8A4 #A7B2A4 #A4AEB2
split-complementary
#AFA4B2 #AEB2A4 #A4B2A8
monochromatic
#736577 #928396 #AFA4B2 #CCC5CE #E9E6EA

Accessibility & contrast

On white

2.39
#AFA4B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#AFA4B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4B2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4B2#FFFFFF#000000##000000
##AFA4B21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A7B3
Deuteranopia (green-blind)
#A5A8B1
Tritanopia (blue-blind)
#AFA5A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa4b2;
/* rgb */ color: rgb(175, 164, 178);
/* oklch */ color: oklch(73.2% 0.023 319.0);
Tailwind
colors: {
  custom: {
    50: '#c6bfc9',
    500: '#afa4b2',
    950: '#000000',
  },
}
SCSS
$custom: #afa4b2;
$custom-light: #c6bfc9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4b2",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 178
  },
  "hsl": {
    "h": 287.143,
    "s": 8.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.02341,
    "h": 319
  },
  "luminance": 0.38879
}

Semantic roles & 50–950 ramp

primary
#AFA4B2
secondary
#D8DBD7
accent
#925361
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA4B2

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

Preview Lab → · Contrast checker → · Palette generator →

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