#AFA1AF#AFA1AF

#AFA1AF is a light, muted purple. Relative luminance 0.377; OKLCH L 72.5% C 0.025 H 325.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AFA1AF
RGBrgb(175, 161, 175)
HSLhsl(300, 8%, 66%)
HSVhsv(300, 8%, 69%)
CMYKcmyk(0%, 8%, 0%, 31.4%)
CIE-LABlab(67.80, 7.66, -5.39)
CIE-LCHlch(67.80, 9.37, 324.87°)
OKLaboklab(72.53% 0.0211 -0.0143)
OKLCHoklch(72.53% 0.025 325.8)
XYZxyz(38.1608, 37.6992, 45.8155)
Luminance0.3770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1AF #A1AFA1
analogous
#A8A1AF #AFA1AF #AFA1A8
triadic
#AFA1AF #AFAFA1 #A1AFAF
tetradic
#AFA1AF #AFA8A1 #A1AFA1 #A1A8AF
square
#AFA1AF #AFA8A1 #A1AFA1 #A1A8AF
split-complementary
#AFA1AF #A8AFA1 #A1AFA8
monochromatic
#736273 #938093 #AFA1AF #CBC2CB #E7E3E7

Accessibility & contrast

On white

2.46
#AFA1AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AFA1AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1AF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1AF#FFFFFF#000000##000000
##AFA1AF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A4B0
Deuteranopia (green-blind)
#A3A6AE
Tritanopia (blue-blind)
#B0A2A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa1af;
/* rgb */ color: rgb(175, 161, 175);
/* oklch */ color: oklch(72.5% 0.025 325.8);
Tailwind
colors: {
  custom: {
    50: '#c6bcc6',
    500: '#afa1af',
    950: '#000000',
  },
}
SCSS
$custom: #afa1af;
$custom-light: #c6bcc6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1af",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 8.046,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7253,
    "c": 0.02546,
    "h": 325.8
  },
  "luminance": 0.37699
}

Semantic roles & 50–950 ramp

primary
#AFA1AF
secondary
#D4D8D4
accent
#925353
background
#FCFBFC
surface
#F8F6F8
border
#D1D0D1
text
#131213
muted
#828182

Preview Lab

Preview with #AFA1AF

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

Preview Lab → · Contrast checker → · Palette generator →

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