#AFA2BD#AFA2BD

#AFA2BD is a light, muted violet. Relative luminance 0.386; OKLCH L 73.2% C 0.041 H 307.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFA2BD
RGBrgb(175, 162, 189)
HSLhsl(269, 17%, 69%)
HSVhsv(269, 14%, 74%)
CMYKcmyk(7.4%, 14.3%, 0%, 25.9%)
CIE-LABlab(68.48, 9.87, -12.16)
CIE-LCHlch(68.48, 15.66, 309.08°)
OKLaboklab(73.2% 0.0247 -0.0327)
OKLCHoklch(73.2% 0.041 307.1)
XYZxyz(39.7832, 38.6289, 53.4945)
Luminance0.3863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2BD #B0BDA2
analogous
#A2A3BD #AFA2BD #BDA2BD
triadic
#AFA2BD #BDAFA2 #A2BDAF
tetradic
#AFA2BD #BDA2A3 #B0BDA2 #A2BDBD
square
#AFA2BD #BDA2A3 #B0BDA2 #A2BDBD
split-complementary
#AFA2BD #BDBDA2 #A3BDA2
monochromatic
#725F86 #907EA4 #AFA2BD #CEC6D6 #EDEAF0

Accessibility & contrast

On white

2.41
#AFA2BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AFA2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2BD
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2BD#FFFFFF#000000##000000
##AFA2BD1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA6BE
Deuteranopia (green-blind)
#A0A7BC
Tritanopia (blue-blind)
#ADA5AB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2bd;
/* rgb */ color: rgb(175, 162, 189);
/* oklch */ color: oklch(73.2% 0.041 307.1);
Tailwind
colors: {
  custom: {
    50: '#c7bdd0',
    500: '#afa2bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa2bd;
$custom-light: #c7bdd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2bd",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 189
  },
  "hsl": {
    "h": 268.889,
    "s": 16.981,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73203,
    "c": 0.041,
    "h": 307.1
  },
  "luminance": 0.38629
}

Semantic roles & 50–950 ramp

primary
#AFA2BD
secondary
#DEE1D9
accent
#9B4A74
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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