#AFA0BB#AFA0BB

#AFA0BB is a light, muted violet. Relative luminance 0.378; OKLCH L 72.7% C 0.042 H 310.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AFA0BB
RGBrgb(175, 160, 187)
HSLhsl(273, 17%, 68%)
HSVhsv(273, 14%, 73%)
CMYKcmyk(6.4%, 14.4%, 0%, 26.7%)
CIE-LABlab(67.91, 10.58, -11.91)
CIE-LCHlch(67.91, 15.93, 311.61°)
OKLaboklab(72.73% 0.027 -0.032)
OKLCHoklch(72.73% 0.042 310.1)
XYZxyz(39.2181, 37.8436, 52.2426)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0BB #ACBBA0
analogous
#A1A0BB #AFA0BB #BBA0B9
triadic
#AFA0BB #BBAFA0 #A0BBAF
tetradic
#AFA0BB #BBA1A0 #ACBBA0 #A0B9BB
square
#AFA0BB #BBA1A0 #ACBBA0 #A0B9BB
split-complementary
#AFA0BB #B9BBA0 #A0BBA1
monochromatic
#725E83 #917CA1 #AFA0BB #CDC4D5 #EBE7EE

Accessibility & contrast

On white

2.45
#AFA0BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AFA0BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0BB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0BB#FFFFFF#000000##000000
##AFA0BB1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA5BC
Deuteranopia (green-blind)
#9FA6BA
Tritanopia (blue-blind)
#AEA3A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa0bb;
/* rgb */ color: rgb(175, 160, 187);
/* oklch */ color: oklch(72.7% 0.042 310.1);
Tailwind
colors: {
  custom: {
    50: '#c7bccf',
    500: '#afa0bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa0bb;
$custom-light: #c7bccf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0bb",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 187
  },
  "hsl": {
    "h": 273.333,
    "s": 16.564,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72734,
    "c": 0.04188,
    "h": 310.1
  },
  "luminance": 0.37843
}

Semantic roles & 50–950 ramp

primary
#AFA0BB
secondary
#DBE0D7
accent
#9B4B6E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA0BB

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

Preview Lab → · Contrast checker → · Palette generator →

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