#AFA2B5#AFA2B5

#AFA2B5 is a light, muted purple. Relative luminance 0.383; OKLCH L 72.9% C 0.031 H 315.3°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#AFA2B5
RGBrgb(175, 162, 181)
HSLhsl(281, 11%, 67%)
HSVhsv(281, 10%, 71%)
CMYKcmyk(3.3%, 10.5%, 0%, 29%)
CIE-LABlab(68.23, 8.27, -8.08)
CIE-LCHlch(68.23, 11.56, 315.66°)
OKLaboklab(72.93% 0.0218 -0.0216)
OKLCHoklch(72.93% 0.031 315.3)
XYZxyz(38.9387, 38.2911, 49.0467)
Luminance0.3829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B5 #A8B5A2
analogous
#A6A2B5 #AFA2B5 #B5A2B1
triadic
#AFA2B5 #B5AFA2 #A2B5AF
tetradic
#AFA2B5 #B5A6A2 #A8B5A2 #A2B1B5
square
#AFA2B5 #B5A6A2 #A8B5A2 #A2B1B5
split-complementary
#AFA2B5 #B1B5A2 #A2B5A6
monochromatic
#73627B #92809A #AFA2B5 #CCC4D0 #EAE6EB

Accessibility & contrast

On white

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

On black

8.66
#AFA2B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B5#FFFFFF#000000##000000
##AFA2B51.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A6B6
Deuteranopia (green-blind)
#A2A7B4
Tritanopia (blue-blind)
#AFA4A8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa2b5;
/* rgb */ color: rgb(175, 162, 181);
/* oklch */ color: oklch(72.9% 0.031 315.3);
Tailwind
colors: {
  custom: {
    50: '#c6bdcb',
    500: '#afa2b5',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b5;
$custom-light: #c6bdcb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b5",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 181
  },
  "hsl": {
    "h": 281.053,
    "s": 11.377,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72929,
    "c": 0.03068,
    "h": 315.3
  },
  "luminance": 0.38291
}

Semantic roles & 50–950 ramp

primary
#AFA2B5
secondary
#D8DCD6
accent
#955066
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B5

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

Preview Lab → · Contrast checker → · Palette generator →

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