#AFA1BD#AFA1BD

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

Color values

HEX#AFA1BD
RGBrgb(175, 161, 189)
HSLhsl(270, 18%, 69%)
HSVhsv(270, 15%, 74%)
CMYKcmyk(7.4%, 14.8%, 0%, 25.9%)
CIE-LABlab(68.22, 10.43, -12.54)
CIE-LCHlch(68.22, 16.31, 309.74°)
OKLaboklab(73% 0.0262 -0.0338)
OKLCHoklch(73% 0.043 307.8)
XYZxyz(39.6078, 38.2780, 53.4360)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1BD #AFBDA1
analogous
#A1A1BD #AFA1BD #BDA1BD
triadic
#AFA1BD #BDAFA1 #A1BDAF
tetradic
#AFA1BD #BDA1A1 #AFBDA1 #A1BDBD
square
#AFA1BD #BDA1A1 #AFBDA1 #A1BDBD
split-complementary
#AFA1BD #BDBDA1 #A1BDA1
monochromatic
#725E86 #907DA4 #AFA1BD #CEC5D6 #ECE9EF

Accessibility & contrast

On white

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

On black

8.66
#AFA1BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1BD
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1BD#FFFFFF#000000##000000
##AFA1BD1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA6BE
Deuteranopia (green-blind)
#9FA7BC
Tritanopia (blue-blind)
#ADA4AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa1bd;
/* rgb */ color: rgb(175, 161, 189);
/* oklch */ color: oklch(73.0% 0.043 307.8);
Tailwind
colors: {
  custom: {
    50: '#c7bcd0',
    500: '#afa1bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa1bd;
$custom-light: #c7bcd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1bd",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 17.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73003,
    "c": 0.04274,
    "h": 307.8
  },
  "luminance": 0.38278
}

Semantic roles & 50–950 ramp

primary
#AFA1BD
secondary
#DDE1D9
accent
#9C4A73
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA1BD

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

Preview Lab → · Contrast checker → · Palette generator →

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