#AFA9BF#AFA9BF

#AFA9BF is a light, muted violet. Relative luminance 0.413; OKLCH L 74.7% C 0.032 H 298.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA9BF
RGBrgb(175, 169, 191)
HSLhsl(256, 15%, 71%)
HSVhsv(256, 12%, 75%)
CMYKcmyk(8.4%, 11.5%, 0%, 25.1%)
CIE-LABlab(70.35, 6.41, -10.46)
CIE-LCHlch(70.35, 12.27, 301.49°)
OKLaboklab(74.68% 0.015 -0.0281)
OKLCHoklch(74.68% 0.032 298.1)
XYZxyz(41.2693, 41.2514, 55.0683)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9BF #B9BFA9
analogous
#A9AEBF #AFA9BF #BAA9BF
triadic
#AFA9BF #BFAFA9 #A9BFAF
tetradic
#AFA9BF #BFA9AE #B9BFA9 #A9BFBA
square
#AFA9BF #BFA9AE #B9BFA9 #A9BFBA
split-complementary
#AFA9BF #BFBAA9 #AEBFA9
monochromatic
#6F6588 #8E86A5 #AFA9BF #D0CCD9 #EFEDF2

Accessibility & contrast

On white

2.27
#AFA9BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#AFA9BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9BF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9BF#FFFFFF#000000##000000
##AFA9BF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5ACC0
Deuteranopia (green-blind)
#A6ACBE
Tritanopia (blue-blind)
#ACACB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa9bf;
/* rgb */ color: rgb(175, 169, 191);
/* oklch */ color: oklch(74.7% 0.032 298.1);
Tailwind
colors: {
  custom: {
    50: '#c7c2d2',
    500: '#afa9bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa9bf;
$custom-light: #c7c2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9bf",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 191
  },
  "hsl": {
    "h": 256.364,
    "s": 14.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74681,
    "c": 0.03189,
    "h": 298.1
  },
  "luminance": 0.41251
}

Semantic roles & 50–950 ramp

primary
#AFA9BF
secondary
#E3E5DF
accent
#994D84
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA9BF

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

Preview Lab → · Contrast checker → · Palette generator →

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