#AFA0BA#AFA0BA

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

Color values

HEX#AFA0BA
RGBrgb(175, 160, 186)
HSLhsl(275, 16%, 68%)
HSVhsv(275, 14%, 73%)
CMYKcmyk(5.9%, 14%, 0%, 27.1%)
CIE-LABlab(67.87, 10.37, -11.40)
CIE-LCHlch(67.87, 15.41, 312.30°)
OKLaboklab(72.7% 0.0266 -0.0306)
OKLCHoklch(72.7% 0.041 311)
XYZxyz(39.1114, 37.8010, 51.6807)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0BA #ABBAA0
analogous
#A2A0BA #AFA0BA #BAA0B8
triadic
#AFA0BA #BAAFA0 #A0BAAF
tetradic
#AFA0BA #BAA2A0 #ABBAA0 #A0B8BA
square
#AFA0BA #BAA2A0 #ABBAA0 #A0B8BA
split-complementary
#AFA0BA #B8BAA0 #A0BAA2
monochromatic
#735E82 #917DA0 #AFA0BA #CDC3D4 #EBE7ED

Accessibility & contrast

On white

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

On black

8.56
#AFA0BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0BA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0BA#FFFFFF#000000##000000
##AFA0BA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa0ba;
/* rgb */ color: rgb(175, 160, 186);
/* oklch */ color: oklch(72.7% 0.041 311.0);
Tailwind
colors: {
  custom: {
    50: '#c7bcce',
    500: '#afa0ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa0ba;
$custom-light: #c7bcce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0ba",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 186
  },
  "hsl": {
    "h": 274.615,
    "s": 15.854,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72699,
    "c": 0.04059,
    "h": 311
  },
  "luminance": 0.37801
}

Semantic roles & 50–950 ramp

primary
#AFA0BA
secondary
#DADFD7
accent
#9A4B6D
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA0BA

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

Preview Lab → · Contrast checker → · Palette generator →

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