#AFA1BB#AFA1BB

#AFA1BB is a light, muted violet. Relative luminance 0.382; OKLCH L 72.9% C 0.040 H 309.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AFA1BB
RGBrgb(175, 161, 187)
HSLhsl(272, 16%, 68%)
HSVhsv(272, 14%, 73%)
CMYKcmyk(6.4%, 13.9%, 0%, 26.7%)
CIE-LABlab(68.16, 10.02, -11.53)
CIE-LCHlch(68.16, 15.27, 311.01°)
OKLaboklab(72.93% 0.0255 -0.031)
OKLCHoklch(72.93% 0.04 309.4)
XYZxyz(39.3922, 38.1917, 52.3006)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA1BB #ADBBA1
analogous
#A2A1BB #AFA1BB #BBA1BA
triadic
#AFA1BB #BBAFA1 #A1BBAF
tetradic
#AFA1BB #BBA2A1 #ADBBA1 #A1BABB
square
#AFA1BB #BBA2A1 #ADBBA1 #A1BABB
split-complementary
#AFA1BB #BABBA1 #A1BBA2
monochromatic
#725F83 #917DA1 #AFA1BB #CDC5D5 #EBE8EE

Accessibility & contrast

On white

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

On black

8.64
#AFA1BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA1BB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA1BB#FFFFFF#000000##000000
##AFA1BB1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA5BC
Deuteranopia (green-blind)
#A0A6BA
Tritanopia (blue-blind)
#AEA4AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa1bb;
/* rgb */ color: rgb(175, 161, 187);
/* oklch */ color: oklch(72.9% 0.040 309.4);
Tailwind
colors: {
  custom: {
    50: '#c7bccf',
    500: '#afa1bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa1bb;
$custom-light: #c7bccf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa1bb",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 187
  },
  "hsl": {
    "h": 272.308,
    "s": 16.049,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72933,
    "c": 0.04012,
    "h": 309.4
  },
  "luminance": 0.38192
}

Semantic roles & 50–950 ramp

primary
#AFA1BB
secondary
#DCE0D8
accent
#9A4B70
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA1BB

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

Preview Lab → · Contrast checker → · Palette generator →

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