#AFA4BF#AFA4BF

#AFA4BF is a light, muted violet. Relative luminance 0.394; OKLCH L 73.7% C 0.040 H 303.9°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AFA4BF
RGBrgb(175, 164, 191)
HSLhsl(264, 17%, 70%)
HSVhsv(264, 14%, 75%)
CMYKcmyk(8.4%, 14.1%, 0%, 25.1%)
CIE-LABlab(69.06, 9.17, -12.40)
CIE-LCHlch(69.06, 15.42, 306.49°)
OKLaboklab(73.67% 0.0224 -0.0334)
OKLCHoklch(73.67% 0.04 303.9)
XYZxyz(40.3569, 39.4265, 54.7641)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4BF #B4BFA4
analogous
#A4A7BF #AFA4BF #BCA4BF
triadic
#AFA4BF #BFAFA4 #A4BFAF
tetradic
#AFA4BF #BFA4A7 #B4BFA4 #A4BFBC
square
#AFA4BF #BFA4A7 #B4BFA4 #A4BFBC
split-complementary
#AFA4BF #BFBCA4 #A7BFA4
monochromatic
#716089 #8F80A6 #AFA4BF #CFC8D8 #EEECF2

Accessibility & contrast

On white

2.36
#AFA4BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AFA4BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4BF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4BF#FFFFFF#000000##000000
##AFA4BF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa4bf;
/* rgb */ color: rgb(175, 164, 191);
/* oklch */ color: oklch(73.7% 0.040 303.9);
Tailwind
colors: {
  custom: {
    50: '#c7bfd2',
    500: '#afa4bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa4bf;
$custom-light: #c7bfd2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4bf",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 191
  },
  "hsl": {
    "h": 264.444,
    "s": 17.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73673,
    "c": 0.04023,
    "h": 303.9
  },
  "luminance": 0.39426
}

Semantic roles & 50–950 ramp

primary
#AFA4BF
secondary
#E0E3DC
accent
#9C4A7A
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA4BF

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

Preview Lab → · Contrast checker → · Palette generator →

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