#AFA2B9#AFA2B9

#AFA2B9 is a light, muted violet. Relative luminance 0.385; OKLCH L 73.1% C 0.036 H 310.6°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#AFA2B9
RGBrgb(175, 162, 185)
HSLhsl(274, 14%, 68%)
HSVhsv(274, 12%, 73%)
CMYKcmyk(5.4%, 12.4%, 0%, 27.5%)
CIE-LABlab(68.36, 9.06, -10.12)
CIE-LCHlch(68.36, 13.59, 311.84°)
OKLaboklab(73.06% 0.0233 -0.0271)
OKLCHoklch(73.06% 0.036 310.6)
XYZxyz(39.3550, 38.4576, 51.2393)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B9 #ACB9A2
analogous
#A3A2B9 #AFA2B9 #B9A2B7
triadic
#AFA2B9 #B9AFA2 #A2B9AF
tetradic
#AFA2B9 #B9A3A2 #ACB9A2 #A2B7B9
square
#AFA2B9 #B9A3A2 #ACB9A2 #A2B7B9
split-complementary
#AFA2B9 #B7B9A2 #A2B9A3
monochromatic
#726080 #917F9F #AFA2B9 #CDC5D3 #EBE8EE

Accessibility & contrast

On white

2.42
#AFA2B9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#AFA2B9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B9
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B9#FFFFFF#000000##000000
##AFA2B91.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA6BA
Deuteranopia (green-blind)
#A1A7B8
Tritanopia (blue-blind)
#AEA5A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2b9;
/* rgb */ color: rgb(175, 162, 185);
/* oklch */ color: oklch(73.1% 0.036 310.6);
Tailwind
colors: {
  custom: {
    50: '#c7bdce',
    500: '#afa2b9',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b9;
$custom-light: #c7bdce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b9",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 185
  },
  "hsl": {
    "h": 273.913,
    "s": 14.11,
    "l": 68.039
  },
  "oklch": {
    "l": 0.73064,
    "c": 0.03576,
    "h": 310.6
  },
  "luminance": 0.38457
}

Semantic roles & 50–950 ramp

primary
#AFA2B9
secondary
#DBDFD8
accent
#984D6E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B9

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

Preview Lab → · Contrast checker → · Palette generator →

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