#AFA2B6#AFA2B6

#AFA2B6 is a light, muted violet. Relative luminance 0.383; OKLCH L 73.0% C 0.032 H 314.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AFA2B6
RGBrgb(175, 162, 182)
HSLhsl(279, 12%, 67%)
HSVhsv(279, 11%, 71%)
CMYKcmyk(3.8%, 11%, 0%, 28.6%)
CIE-LABlab(68.26, 8.47, -8.59)
CIE-LCHlch(68.26, 12.06, 314.58°)
OKLaboklab(72.96% 0.0222 -0.023)
OKLCHoklch(72.96% 0.032 314)
XYZxyz(39.0417, 38.3322, 49.5890)
Luminance0.3833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2B6 #A9B6A2
analogous
#A5A2B6 #AFA2B6 #B6A2B3
triadic
#AFA2B6 #B6AFA2 #A2B6AF
tetradic
#AFA2B6 #B6A5A2 #A9B6A2 #A2B3B6
square
#AFA2B6 #B6A5A2 #A9B6A2 #A2B3B6
split-complementary
#AFA2B6 #B3B6A2 #A2B6A5
monochromatic
#73617C #92809B #AFA2B6 #CCC4D1 #EAE7EC

Accessibility & contrast

On white

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

On black

8.67
#AFA2B6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2B6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2B6#FFFFFF#000000##000000
##AFA2B61.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa2b6;
/* rgb */ color: rgb(175, 162, 182);
/* oklch */ color: oklch(73.0% 0.032 314.0);
Tailwind
colors: {
  custom: {
    50: '#c7bdcb',
    500: '#afa2b6',
    950: '#000000',
  },
}
SCSS
$custom: #afa2b6;
$custom-light: #c7bdcb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2b6",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 182
  },
  "hsl": {
    "h": 279,
    "s": 12.048,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72962,
    "c": 0.03193,
    "h": 314
  },
  "luminance": 0.38332
}

Semantic roles & 50–950 ramp

primary
#AFA2B6
secondary
#D9DDD7
accent
#964F68
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2B6

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

Preview Lab → · Contrast checker → · Palette generator →

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