#AFA1BF#AFA1BF

#AFA1BF is a light, muted violet. Relative luminance 0.384; OKLCH L 73.1% C 0.045 H 306.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AFA1BF
RGBrgb(175, 161, 191)
HSLhsl(268, 19%, 69%)
HSVhsv(268, 16%, 75%)
CMYKcmyk(8.4%, 15.7%, 0%, 25.1%)
CIE-LABlab(68.29, 10.84, -13.56)
CIE-LCHlch(68.29, 17.35, 308.64°)
OKLaboklab(73.07% 0.0269 -0.0366)
OKLCHoklch(73.07% 0.045 306.4)
XYZxyz(39.8263, 38.3654, 54.5873)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1BF #B1BFA1
analogous
#A1A2BF #AFA1BF #BEA1BF
triadic
#AFA1BF #BFAFA1 #A1BFAF
tetradic
#AFA1BF #BFA1A2 #B1BFA1 #A1BFBE
square
#AFA1BF #BFA1A2 #B1BFA1 #A1BFBE
split-complementary
#AFA1BF #BFBEA1 #A2BFA1
monochromatic
#715D89 #907DA6 #AFA1BF #CEC5D8 #EDEAF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA1BF#FFFFFF#000000##000000
##AFA1BF1.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)
#9CA6C0
Deuteranopia (green-blind)
#9FA7BE
Tritanopia (blue-blind)
#ADA5AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa1bf;
/* rgb */ color: rgb(175, 161, 191);
/* oklch */ color: oklch(73.1% 0.045 306.4);
Tailwind
colors: {
  custom: {
    50: '#c7bcd2',
    500: '#afa1bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa1bf;
$custom-light: #c7bcd2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1bf",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 191
  },
  "hsl": {
    "h": 268,
    "s": 18.987,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73074,
    "c": 0.0454,
    "h": 306.4
  },
  "luminance": 0.38365
}

Semantic roles & 50–950 ramp

primary
#AFA1BF
secondary
#DEE2DA
accent
#9D4876
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA1BF

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

Preview Lab → · Contrast checker → · Palette generator →

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