#AFA9BB#AFA9BB

#AFA9BB is a light, muted violet. Relative luminance 0.411; OKLCH L 74.5% C 0.026 H 300.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA9BB
RGBrgb(175, 169, 187)
HSLhsl(260, 12%, 70%)
HSVhsv(260, 10%, 73%)
CMYKcmyk(6.4%, 9.6%, 0%, 26.7%)
CIE-LABlab(70.23, 5.60, -8.44)
CIE-LCHlch(70.23, 10.13, 303.58°)
OKLaboklab(74.55% 0.0135 -0.0226)
OKLCHoklch(74.55% 0.026 300.9)
XYZxyz(40.8352, 41.0777, 52.7816)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9BB #B5BBA9
analogous
#A9ACBB #AFA9BB #B8A9BB
triadic
#AFA9BB #BBAFA9 #A9BBAF
tetradic
#AFA9BB #BBA9AC #B5BBA9 #A9BBB8
square
#AFA9BB #BBA9AC #B5BBA9 #A9BBB8
split-complementary
#AFA9BB #BBB8A9 #ACBBA9
monochromatic
#706782 #8F87A0 #AFA9BB #CFCBD6 #EFEDF1

Accessibility & contrast

On white

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

On black

9.22
#AFA9BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9BB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9BB#FFFFFF#000000##000000
##AFA9BB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6ACBC
Deuteranopia (green-blind)
#A7ACBA
Tritanopia (blue-blind)
#ADABAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa9bb;
/* rgb */ color: rgb(175, 169, 187);
/* oklch */ color: oklch(74.5% 0.026 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6c2cf',
    500: '#afa9bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa9bb;
$custom-light: #c6c2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9bb",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 187
  },
  "hsl": {
    "h": 260,
    "s": 11.688,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74546,
    "c": 0.02635,
    "h": 300.9
  },
  "luminance": 0.41078
}

Semantic roles & 50–950 ramp

primary
#AFA9BB
secondary
#E1E2DD
accent
#96507E
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA9BB

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

Preview Lab → · Contrast checker → · Palette generator →

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