#AFA4BC#AFA4BC

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

Color values

HEX#AFA4BC
RGBrgb(175, 164, 188)
HSLhsl(268, 15%, 69%)
HSVhsv(268, 13%, 74%)
CMYKcmyk(6.9%, 12.8%, 0%, 26.3%)
CIE-LABlab(68.97, 8.56, -10.88)
CIE-LCHlch(68.97, 13.84, 308.20°)
OKLaboklab(73.57% 0.0214 -0.0292)
OKLCHoklch(73.57% 0.036 306.2)
XYZxyz(40.0301, 39.2958, 53.0432)
Luminance0.3930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4BC #B1BCA4
analogous
#A4A5BC #AFA4BC #BBA4BC
triadic
#AFA4BC #BCAFA4 #A4BCAF
tetradic
#AFA4BC #BCA4A5 #B1BCA4 #A4BCBB
square
#AFA4BC #BCA4A5 #B1BCA4 #A4BCBB
split-complementary
#AFA4BC #BCBBA4 #A5BCA4
monochromatic
#716184 #9081A2 #AFA4BC #CEC7D6 #EDEAF0

Accessibility & contrast

On white

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

On black

8.86
#AFA4BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4BC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4BC#FFFFFF#000000##000000
##AFA4BC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa4bc;
/* rgb */ color: rgb(175, 164, 188);
/* oklch */ color: oklch(73.6% 0.036 306.2);
Tailwind
colors: {
  custom: {
    50: '#c7bfd0',
    500: '#afa4bc',
    950: '#000000',
  },
}
SCSS
$custom: #afa4bc;
$custom-light: #c7bfd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4bc",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 188
  },
  "hsl": {
    "h": 267.5,
    "s": 15.19,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.0362,
    "h": 306.2
  },
  "luminance": 0.39296
}

Semantic roles & 50–950 ramp

primary
#AFA4BC
secondary
#DEE1DA
accent
#994C76
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA4BC

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

Preview Lab → · Contrast checker → · Palette generator →

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