#AFA2B1#AFA2B1

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

Color values

HEX#AFA2B1
RGBrgb(175, 162, 177)
HSLhsl(292, 9%, 66%)
HSVhsv(292, 8%, 69%)
CMYKcmyk(1.1%, 8.5%, 0%, 30.6%)
CIE-LABlab(68.12, 7.49, -6.03)
CIE-LCHlch(68.12, 9.62, 321.16°)
OKLaboklab(72.8% 0.0203 -0.016)
OKLCHoklch(72.8% 0.026 321.7)
XYZxyz(38.5341, 38.1292, 46.9161)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B1 #A4B1A2
analogous
#A8A2B1 #AFA2B1 #B1A2AC
triadic
#AFA2B1 #B1AFA2 #A2B1AF
tetradic
#AFA2B1 #B1A8A2 #A4B1A2 #A2ACB1
square
#AFA2B1 #B1A8A2 #A4B1A2 #A2ACB1
split-complementary
#AFA2B1 #ACB1A2 #A2B1A8
monochromatic
#736376 #928195 #AFA2B1 #CCC3CD #E8E5E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA2B1#FFFFFF#000000##000000
##AFA2B11.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)
#A1A5B2
Deuteranopia (green-blind)
#A3A7B0
Tritanopia (blue-blind)
#B0A3A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa2b1;
/* rgb */ color: rgb(175, 162, 177);
/* oklch */ color: oklch(72.8% 0.026 321.7);
Tailwind
colors: {
  custom: {
    50: '#c6bdc8',
    500: '#afa2b1',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b1;
$custom-light: #c6bdc8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b1",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 177
  },
  "hsl": {
    "h": 292,
    "s": 8.772,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.02588,
    "h": 321.7
  },
  "luminance": 0.38129
}

Semantic roles & 50–950 ramp

primary
#AFA2B1
secondary
#D6DAD5
accent
#93535B
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B1

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

Preview Lab → · Contrast checker → · Palette generator →

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