#AFA2B3#AFA2B3

#AFA2B3 is a light, muted purple. Relative luminance 0.382; OKLCH L 72.9% C 0.028 H 318.2°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AFA2B3
RGBrgb(175, 162, 179)
HSLhsl(286, 10%, 67%)
HSVhsv(286, 9%, 70%)
CMYKcmyk(2.2%, 9.5%, 0%, 29.8%)
CIE-LABlab(68.17, 7.88, -7.06)
CIE-LCHlch(68.17, 10.58, 318.15°)
OKLaboklab(72.86% 0.0211 -0.0188)
OKLCHoklch(72.86% 0.028 318.2)
XYZxyz(38.7349, 38.2096, 47.9737)
Luminance0.3821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B3 #A6B3A2
analogous
#A7A2B3 #AFA2B3 #B3A2AF
triadic
#AFA2B3 #B3AFA2 #A2B3AF
tetradic
#AFA2B3 #B3A7A2 #A6B3A2 #A2AFB3
square
#AFA2B3 #B3A7A2 #A6B3A2 #A2AFB3
split-complementary
#AFA2B3 #AFB3A2 #A2B3A7
monochromatic
#736278 #928097 #AFA2B3 #CCC4CF #E9E5EA

Accessibility & contrast

On white

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

On black

8.64
#AFA2B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B3#FFFFFF#000000##000000
##AFA2B31.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A5B4
Deuteranopia (green-blind)
#A3A7B2
Tritanopia (blue-blind)
#AFA4A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa2b3;
/* rgb */ color: rgb(175, 162, 179);
/* oklch */ color: oklch(72.9% 0.028 318.2);
Tailwind
colors: {
  custom: {
    50: '#c6bdc9',
    500: '#afa2b3',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b3;
$custom-light: #c6bdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b3",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 179
  },
  "hsl": {
    "h": 285.882,
    "s": 10.059,
    "l": 66.863
  },
  "oklch": {
    "l": 0.72862,
    "c": 0.02824,
    "h": 318.2
  },
  "luminance": 0.38209
}

Semantic roles & 50–950 ramp

primary
#AFA2B3
secondary
#D7DBD6
accent
#945161
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B3

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

Preview Lab → · Contrast checker → · Palette generator →

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