#AFA4BB#AFA4BB

#AFA4BB is a light, muted violet. Relative luminance 0.393; OKLCH L 73.5% C 0.035 H 307.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFA4BB
RGBrgb(175, 164, 187)
HSLhsl(269, 14%, 69%)
HSVhsv(269, 12%, 73%)
CMYKcmyk(6.4%, 12.3%, 0%, 26.7%)
CIE-LABlab(68.93, 8.36, -10.37)
CIE-LCHlch(68.93, 13.32, 308.87°)
OKLaboklab(73.53% 0.021 -0.0278)
OKLCHoklch(73.53% 0.035 307)
XYZxyz(39.9227, 39.2528, 52.4774)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4BB #B0BBA4
analogous
#A4A5BB #AFA4BB #BBA4BB
triadic
#AFA4BB #BBAFA4 #A4BBAF
tetradic
#AFA4BB #BBA4A5 #B0BBA4 #A4BBBB
square
#AFA4BB #BBA4A5 #B0BBA4 #A4BBBB
split-complementary
#AFA4BB #BBBBA4 #A5BBA4
monochromatic
#726283 #9081A1 #AFA4BB #CEC7D5 #EDEAEF

Accessibility & contrast

On white

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

On black

8.85
#AFA4BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4BB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4BB#FFFFFF#000000##000000
##AFA4BB1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A8BC
Deuteranopia (green-blind)
#A2A8BA
Tritanopia (blue-blind)
#AEA7AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa4bb;
/* rgb */ color: rgb(175, 164, 187);
/* oklch */ color: oklch(73.5% 0.035 307.0);
Tailwind
colors: {
  custom: {
    50: '#c7bfcf',
    500: '#afa4bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa4bb;
$custom-light: #c7bfcf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4bb",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 187
  },
  "hsl": {
    "h": 268.696,
    "s": 14.465,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73534,
    "c": 0.03487,
    "h": 307
  },
  "luminance": 0.39253
}

Semantic roles & 50–950 ramp

primary
#AFA4BB
secondary
#DEE1DA
accent
#994D74
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA4BB

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

Preview Lab → · Contrast checker → · Palette generator →

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