#AFA2B4#AFA2B4

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

Color values

HEX#AFA2B4
RGBrgb(175, 162, 180)
HSLhsl(283, 11%, 67%)
HSVhsv(283, 10%, 71%)
CMYKcmyk(2.8%, 10%, 0%, 29.4%)
CIE-LABlab(68.20, 8.07, -7.57)
CIE-LCHlch(68.20, 11.07, 316.85°)
OKLaboklab(72.9% 0.0214 -0.0202)
OKLCHoklch(72.9% 0.029 316.7)
XYZxyz(38.8364, 38.2502, 48.5082)
Luminance0.3825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B4 #A7B4A2
analogous
#A6A2B4 #AFA2B4 #B4A2B0
triadic
#AFA2B4 #B4AFA2 #A2B4AF
tetradic
#AFA2B4 #B4A6A2 #A7B4A2 #A2B0B4
square
#AFA2B4 #B4A6A2 #A7B4A2 #A2B0B4
split-complementary
#AFA2B4 #B0B4A2 #A2B4A6
monochromatic
#73627A #928099 #AFA2B4 #CCC4CF #E9E6EB

Accessibility & contrast

On white

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

On black

8.65
#AFA2B4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B4#FFFFFF#000000##000000
##AFA2B41.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa2b4;
/* rgb */ color: rgb(175, 162, 180);
/* oklch */ color: oklch(72.9% 0.029 316.7);
Tailwind
colors: {
  custom: {
    50: '#c6bdca',
    500: '#afa2b4',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b4;
$custom-light: #c6bdca;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b4",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 180
  },
  "hsl": {
    "h": 283.333,
    "s": 10.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.02945,
    "h": 316.7
  },
  "luminance": 0.3825
}

Semantic roles & 50–950 ramp

primary
#AFA2B4
secondary
#D8DCD6
accent
#955164
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B4

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

Preview Lab → · Contrast checker → · Palette generator →

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