#AFA9BA#AFA9BA

#AFA9BA is a light, muted violet. Relative luminance 0.410; OKLCH L 74.5% C 0.025 H 301.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#AFA9BA
RGBrgb(175, 169, 186)
HSLhsl(261, 11%, 70%)
HSVhsv(261, 9%, 73%)
CMYKcmyk(5.9%, 9.1%, 0%, 27.1%)
CIE-LABlab(70.20, 5.40, -7.93)
CIE-LCHlch(70.20, 9.59, 304.26°)
OKLaboklab(74.51% 0.0132 -0.0212)
OKLCHoklch(74.51% 0.025 301.8)
XYZxyz(40.7285, 41.0351, 52.2197)
Luminance0.4103 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9BA #B4BAA9
analogous
#A9ACBA #AFA9BA #B8A9BA
triadic
#AFA9BA #BAAFA9 #A9BAAF
tetradic
#AFA9BA #BAA9AC #B4BAA9 #A9BAB8
square
#AFA9BA #BAA9AC #B4BAA9 #A9BAB8
split-complementary
#AFA9BA #BAB8A9 #ACBAA9
monochromatic
#716881 #8F879F #AFA9BA #CFCBD5 #EEEDF0

Accessibility & contrast

On white

2.28
#AFA9BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#AFA9BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9BA
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9BA#FFFFFF#000000##000000
##AFA9BA1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6ABBB
Deuteranopia (green-blind)
#A7ACB9
Tritanopia (blue-blind)
#ADABAE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa9ba;
/* rgb */ color: rgb(175, 169, 186);
/* oklch */ color: oklch(74.5% 0.025 301.8);
Tailwind
colors: {
  custom: {
    50: '#c6c2ce',
    500: '#afa9ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ba;
$custom-light: #c6c2ce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ba",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 186
  },
  "hsl": {
    "h": 261.176,
    "s": 10.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74513,
    "c": 0.02498,
    "h": 301.8
  },
  "luminance": 0.41035
}

Semantic roles & 50–950 ramp

primary
#AFA9BA
secondary
#E0E2DD
accent
#95507D
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA9BA

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

Preview Lab → · Contrast checker → · Palette generator →

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