#AFA5BC#AFA5BC

#AFA5BC is a light, muted violet. Relative luminance 0.397; OKLCH L 73.8% C 0.034 H 305.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFA5BC
RGBrgb(175, 165, 188)
HSLhsl(266, 15%, 69%)
HSVhsv(266, 12%, 74%)
CMYKcmyk(6.9%, 12.2%, 0%, 26.3%)
CIE-LABlab(69.22, 8.01, -10.49)
CIE-LCHlch(69.22, 13.20, 307.35°)
OKLaboklab(73.77% 0.0199 -0.0282)
OKLCHoklch(73.77% 0.034 305.2)
XYZxyz(40.2098, 39.6551, 53.1031)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5BC #B2BCA5
analogous
#A5A7BC #AFA5BC #BBA5BC
triadic
#AFA5BC #BCAFA5 #A5BCAF
tetradic
#AFA5BC #BCA5A7 #B2BCA5 #A5BCBB
square
#AFA5BC #BCA5A7 #B2BCA5 #A5BCBB
split-complementary
#AFA5BC #BCBBA5 #A7BCA5
monochromatic
#716284 #9082A2 #AFA5BC #CEC8D6 #EDEBF0

Accessibility & contrast

On white

2.35
#AFA5BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFA5BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5BC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5BC#FFFFFF#000000##000000
##AFA5BC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1A9BD
Deuteranopia (green-blind)
#A3A9BB
Tritanopia (blue-blind)
#ADA8AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa5bc;
/* rgb */ color: rgb(175, 165, 188);
/* oklch */ color: oklch(73.8% 0.034 305.2);
Tailwind
colors: {
  custom: {
    50: '#c7bfd0',
    500: '#afa5bc',
    950: '#000000',
  },
}
SCSS
$custom: #afa5bc;
$custom-light: #c7bfd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5bc",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 188
  },
  "hsl": {
    "h": 266.087,
    "s": 14.65,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7377,
    "c": 0.03448,
    "h": 305.2
  },
  "luminance": 0.39655
}

Semantic roles & 50–950 ramp

primary
#AFA5BC
secondary
#DFE2DB
accent
#994D78
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA5BC

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

Preview Lab → · Contrast checker → · Palette generator →

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