#AFA5BD#AFA5BD

#AFA5BD is a light, muted violet. Relative luminance 0.397; OKLCH L 73.8% C 0.036 H 304.4°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#AFA5BD
RGBrgb(175, 165, 189)
HSLhsl(265, 15%, 69%)
HSVhsv(265, 13%, 74%)
CMYKcmyk(7.4%, 12.7%, 0%, 25.9%)
CIE-LABlab(69.25, 8.21, -11.00)
CIE-LCHlch(69.25, 13.73, 306.74°)
OKLaboklab(73.8% 0.0202 -0.0296)
OKLCHoklch(73.8% 0.036 304.4)
XYZxyz(40.3180, 39.6984, 53.6728)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5BD #B3BDA5
analogous
#A5A7BD #AFA5BD #BBA5BD
triadic
#AFA5BD #BDAFA5 #A5BDAF
tetradic
#AFA5BD #BDA5A7 #B3BDA5 #A5BDBB
square
#AFA5BD #BDA5A7 #B3BDA5 #A5BDBB
split-complementary
#AFA5BD #BDBBA5 #A7BDA5
monochromatic
#716286 #9082A3 #AFA5BD #CEC8D7 #EEECF1

Accessibility & contrast

On white

2.35
#AFA5BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#AFA5BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5BD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5BD#FFFFFF#000000##000000
##AFA5BD1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A9BE
Deuteranopia (green-blind)
#A3A9BC
Tritanopia (blue-blind)
#ADA8AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa5bd;
/* rgb */ color: rgb(175, 165, 189);
/* oklch */ color: oklch(73.8% 0.036 304.4);
Tailwind
colors: {
  custom: {
    50: '#c7bfd0',
    500: '#afa5bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa5bd;
$custom-light: #c7bfd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5bd",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 189
  },
  "hsl": {
    "h": 265,
    "s": 15.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73804,
    "c": 0.03583,
    "h": 304.4
  },
  "luminance": 0.39698
}

Semantic roles & 50–950 ramp

primary
#AFA5BD
secondary
#DFE2DB
accent
#9A4C79
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA5BD

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

Preview Lab → · Contrast checker → · Palette generator →

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