#AFA4BD#AFA4BD

#AFA4BD is a light, muted violet. Relative luminance 0.393; OKLCH L 73.6% C 0.038 H 305.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AFA4BD
RGBrgb(175, 164, 189)
HSLhsl(266, 16%, 69%)
HSVhsv(266, 13%, 74%)
CMYKcmyk(7.4%, 13.2%, 0%, 25.9%)
CIE-LABlab(69.00, 8.76, -11.39)
CIE-LCHlch(69.00, 14.37, 307.58°)
OKLaboklab(73.6% 0.0217 -0.0306)
OKLCHoklch(73.6% 0.038 305.3)
XYZxyz(40.1383, 39.3391, 53.6129)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4BD #B2BDA4
analogous
#A4A6BD #AFA4BD #BCA4BD
triadic
#AFA4BD #BDAFA4 #A4BDAF
tetradic
#AFA4BD #BDA4A6 #B2BDA4 #A4BDBC
square
#AFA4BD #BDA4A6 #B2BDA4 #A4BDBC
split-complementary
#AFA4BD #BDBCA4 #A6BDA4
monochromatic
#716186 #9081A3 #AFA4BD #CEC7D7 #EDEBF0

Accessibility & contrast

On white

2.37
#AFA4BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AFA4BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4BD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4BD#FFFFFF#000000##000000
##AFA4BD1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A8BE
Deuteranopia (green-blind)
#A2A8BC
Tritanopia (blue-blind)
#ADA7AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa4bd;
/* rgb */ color: rgb(175, 164, 189);
/* oklch */ color: oklch(73.6% 0.038 305.3);
Tailwind
colors: {
  custom: {
    50: '#c7bfd0',
    500: '#afa4bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa4bd;
$custom-light: #c7bfd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4bd",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 189
  },
  "hsl": {
    "h": 266.4,
    "s": 15.924,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73603,
    "c": 0.03754,
    "h": 305.3
  },
  "luminance": 0.39339
}

Semantic roles & 50–950 ramp

primary
#AFA4BD
secondary
#DFE2DB
accent
#9A4B77
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA4BD

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

Preview Lab → · Contrast checker → · Palette generator →

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