#AFA2B2#AFA2B2

#AFA2B2 is a light, muted purple. Relative luminance 0.382; OKLCH L 72.8% C 0.027 H 319.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AFA2B2
RGBrgb(175, 162, 178)
HSLhsl(289, 9%, 67%)
HSVhsv(289, 9%, 70%)
CMYKcmyk(1.7%, 9%, 0%, 30.2%)
CIE-LABlab(68.15, 7.69, -6.55)
CIE-LCHlch(68.15, 10.10, 319.58°)
OKLaboklab(72.83% 0.0207 -0.0174)
OKLCHoklch(72.83% 0.027 319.9)
XYZxyz(38.6342, 38.1693, 47.4430)
Luminance0.3817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B2 #A5B2A2
analogous
#A7A2B2 #AFA2B2 #B2A2AD
triadic
#AFA2B2 #B2AFA2 #A2B2AF
tetradic
#AFA2B2 #B2A7A2 #A5B2A2 #A2ADB2
square
#AFA2B2 #B2A7A2 #A5B2A2 #A2ADB2
split-complementary
#AFA2B2 #ADB2A2 #A2B2A7
monochromatic
#736377 #928196 #AFA2B2 #CCC3CE #E9E5E9

Accessibility & contrast

On white

2.43
#AFA2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AFA2B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B2#FFFFFF#000000##000000
##AFA2B21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A5B3
Deuteranopia (green-blind)
#A3A7B1
Tritanopia (blue-blind)
#AFA3A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa2b2;
/* rgb */ color: rgb(175, 162, 178);
/* oklch */ color: oklch(72.8% 0.027 319.9);
Tailwind
colors: {
  custom: {
    50: '#c6bdc9',
    500: '#afa2b2',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b2;
$custom-light: #c6bdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b2",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 178
  },
  "hsl": {
    "h": 288.75,
    "s": 9.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.02705,
    "h": 319.9
  },
  "luminance": 0.38169
}

Semantic roles & 50–950 ramp

primary
#AFA2B2
secondary
#D6DAD5
accent
#93525E
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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