#AFA1BA#AFA1BA

#AFA1BA is a light, muted violet. Relative luminance 0.381; OKLCH L 72.9% C 0.039 H 310.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AFA1BA
RGBrgb(175, 161, 186)
HSLhsl(274, 15%, 68%)
HSVhsv(274, 13%, 73%)
CMYKcmyk(5.9%, 13.4%, 0%, 27.1%)
CIE-LABlab(68.13, 9.82, -11.02)
CIE-LCHlch(68.13, 14.76, 311.71°)
OKLaboklab(72.9% 0.0251 -0.0296)
OKLCHoklch(72.9% 0.039 310.3)
XYZxyz(39.2855, 38.1491, 51.7387)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1BA #ACBAA1
analogous
#A2A1BA #AFA1BA #BAA1B8
triadic
#AFA1BA #BAAFA1 #A1BAAF
tetradic
#AFA1BA #BAA2A1 #ACBAA1 #A1B8BA
square
#AFA1BA #BAA2A1 #ACBAA1 #A1B8BA
split-complementary
#AFA1BA #B8BAA1 #A1BAA2
monochromatic
#725F82 #917EA0 #AFA1BA #CDC4D4 #EBE8EE

Accessibility & contrast

On white

2.43
#AFA1BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AFA1BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1BA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1BA#FFFFFF#000000##000000
##AFA1BA1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA5BB
Deuteranopia (green-blind)
#A0A6B9
Tritanopia (blue-blind)
#AEA4A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa1ba;
/* rgb */ color: rgb(175, 161, 186);
/* oklch */ color: oklch(72.9% 0.039 310.3);
Tailwind
colors: {
  custom: {
    50: '#c7bcce',
    500: '#afa1ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa1ba;
$custom-light: #c7bcce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1ba",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 186
  },
  "hsl": {
    "h": 273.6,
    "s": 15.337,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72898,
    "c": 0.03881,
    "h": 310.3
  },
  "luminance": 0.38149
}

Semantic roles & 50–950 ramp

primary
#AFA1BA
secondary
#DBDFD8
accent
#9A4C6E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA1BA

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

Preview Lab → · Contrast checker → · Palette generator →

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