#AFA1BC#AFA1BC

#AFA1BC is a light, muted violet. Relative luminance 0.382; OKLCH L 73.0% C 0.041 H 308.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AFA1BC
RGBrgb(175, 161, 188)
HSLhsl(271, 17%, 68%)
HSVhsv(271, 14%, 74%)
CMYKcmyk(6.9%, 14.4%, 0%, 26.3%)
CIE-LABlab(68.19, 10.22, -12.03)
CIE-LCHlch(68.19, 15.79, 310.35°)
OKLaboklab(72.97% 0.0259 -0.0324)
OKLCHoklch(72.97% 0.041 308.6)
XYZxyz(39.4996, 38.2347, 52.8663)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1BC #AEBCA1
analogous
#A1A1BC #AFA1BC #BCA1BB
triadic
#AFA1BC #BCAFA1 #A1BCAF
tetradic
#AFA1BC #BCA1A1 #AEBCA1 #A1BBBC
square
#AFA1BC #BCA1A1 #AEBCA1 #A1BBBC
split-complementary
#AFA1BC #BBBCA1 #A1BCA1
monochromatic
#725E84 #917DA3 #AFA1BC #CDC5D5 #ECE8EF

Accessibility & contrast

On white

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

On black

8.65
#AFA1BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1BC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1BC#FFFFFF#000000##000000
##AFA1BC1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA6BD
Deuteranopia (green-blind)
#A0A6BB
Tritanopia (blue-blind)
#AEA4AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa1bc;
/* rgb */ color: rgb(175, 161, 188);
/* oklch */ color: oklch(73.0% 0.041 308.6);
Tailwind
colors: {
  custom: {
    50: '#c7bcd0',
    500: '#afa1bc',
    950: '#000000',
  },
}
SCSS
$custom: #afa1bc;
$custom-light: #c7bcd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1bc",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 188
  },
  "hsl": {
    "h": 271.111,
    "s": 16.77,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72968,
    "c": 0.04143,
    "h": 308.6
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#AFA1BC
secondary
#DCE0D8
accent
#9B4A71
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA1BC

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

Preview Lab → · Contrast checker → · Palette generator →

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