#AFA5BA#AFA5BA

#AFA5BA is a light, muted violet. Relative luminance 0.396; OKLCH L 73.7% C 0.032 H 307.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFA5BA
RGBrgb(175, 165, 186)
HSLhsl(269, 13%, 69%)
HSVhsv(269, 11%, 73%)
CMYKcmyk(5.9%, 11.3%, 0%, 27.1%)
CIE-LABlab(69.16, 7.60, -9.48)
CIE-LCHlch(69.16, 12.15, 308.75°)
OKLaboklab(73.7% 0.0191 -0.0254)
OKLCHoklch(73.7% 0.032 307)
XYZxyz(39.9957, 39.5695, 51.9755)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5BA #B0BAA5
analogous
#A5A6BA #AFA5BA #BAA5BA
triadic
#AFA5BA #BAAFA5 #A5BAAF
tetradic
#AFA5BA #BAA5A6 #B0BAA5 #A5BABA
square
#AFA5BA #BAA5A6 #B0BAA5 #A5BABA
split-complementary
#AFA5BA #BABAA5 #A6BAA5
monochromatic
#726381 #90829F #AFA5BA #CEC8D5 #EDEAEF

Accessibility & contrast

On white

2.36
#AFA5BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFA5BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5BA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5BA#FFFFFF#000000##000000
##AFA5BA1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2A8BB
Deuteranopia (green-blind)
#A4A9B9
Tritanopia (blue-blind)
#AEA8AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa5ba;
/* rgb */ color: rgb(175, 165, 186);
/* oklch */ color: oklch(73.7% 0.032 307.0);
Tailwind
colors: {
  custom: {
    50: '#c7bfce',
    500: '#afa5ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa5ba;
$custom-light: #c7bfce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5ba",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 186
  },
  "hsl": {
    "h": 268.571,
    "s": 13.208,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.0318,
    "h": 307
  },
  "luminance": 0.39569
}

Semantic roles & 50–950 ramp

primary
#AFA5BA
secondary
#DEE1DA
accent
#974E74
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA5BA

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

Preview Lab → · Contrast checker → · Palette generator →

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