#AFA0BC#AFA0BC

#AFA0BC is a light, muted violet. Relative luminance 0.379; OKLCH L 72.8% C 0.043 H 309.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AFA0BC
RGBrgb(175, 160, 188)
HSLhsl(272, 17%, 68%)
HSVhsv(272, 15%, 74%)
CMYKcmyk(6.9%, 14.9%, 0%, 26.3%)
CIE-LABlab(67.94, 10.78, -12.42)
CIE-LCHlch(67.94, 16.44, 310.96°)
OKLaboklab(72.77% 0.0274 -0.0334)
OKLCHoklch(72.77% 0.043 309.3)
XYZxyz(39.3255, 37.8866, 52.8083)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0BC #ADBCA0
analogous
#A1A0BC #AFA0BC #BCA0BB
triadic
#AFA0BC #BCAFA0 #A0BCAF
tetradic
#AFA0BC #BCA1A0 #ADBCA0 #A0BBBC
square
#AFA0BC #BCA1A0 #ADBCA0 #A0BBBC
split-complementary
#AFA0BC #BBBCA0 #A0BCA1
monochromatic
#725D84 #917CA3 #AFA0BC #CDC4D5 #EBE8EF

Accessibility & contrast

On white

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

On black

8.58
#AFA0BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0BC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0BC#FFFFFF#000000##000000
##AFA0BC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA5BD
Deuteranopia (green-blind)
#9FA6BB
Tritanopia (blue-blind)
#AEA3A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa0bc;
/* rgb */ color: rgb(175, 160, 188);
/* oklch */ color: oklch(72.8% 0.043 309.3);
Tailwind
colors: {
  custom: {
    50: '#c7bcd0',
    500: '#afa0bc',
    950: '#000000',
  },
}
SCSS
$custom: #afa0bc;
$custom-light: #c7bcd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0bc",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 188
  },
  "hsl": {
    "h": 272.143,
    "s": 17.284,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72769,
    "c": 0.04318,
    "h": 309.3
  },
  "luminance": 0.37886
}

Semantic roles & 50–950 ramp

primary
#AFA0BC
secondary
#DCE0D8
accent
#9C4A70
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA0BC

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

Preview Lab → · Contrast checker → · Palette generator →

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