#AFA6BA#AFA6BA

#AFA6BA is a light, muted violet. Relative luminance 0.399; OKLCH L 73.9% C 0.030 H 305.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AFA6BA
RGBrgb(175, 166, 186)
HSLhsl(267, 13%, 69%)
HSVhsv(267, 11%, 73%)
CMYKcmyk(5.9%, 10.8%, 0%, 27.1%)
CIE-LABlab(69.42, 7.05, -9.09)
CIE-LCHlch(69.42, 11.50, 307.81°)
OKLaboklab(73.9% 0.0176 -0.0244)
OKLCHoklch(73.9% 0.03 305.9)
XYZxyz(40.1768, 39.9316, 52.0358)
Luminance0.3993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6BA #B1BAA6
analogous
#A6A7BA #AFA6BA #B9A6BA
triadic
#AFA6BA #BAAFA6 #A6BAAF
tetradic
#AFA6BA #BAA6A7 #B1BAA6 #A6BAB9
square
#AFA6BA #BAA6A7 #B1BAA6 #A6BAB9
split-complementary
#AFA6BA #BAB9A6 #A7BAA6
monochromatic
#716481 #90849F #AFA6BA #CEC8D5 #EDEBEF

Accessibility & contrast

On white

2.34
#AFA6BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AFA6BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6BA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6BA#FFFFFF#000000##000000
##AFA6BA1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa6ba;
/* rgb */ color: rgb(175, 166, 186);
/* oklch */ color: oklch(73.9% 0.030 305.9);
Tailwind
colors: {
  custom: {
    50: '#c6c0ce',
    500: '#afa6ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa6ba;
$custom-light: #c6c0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6ba",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 186
  },
  "hsl": {
    "h": 267,
    "s": 12.658,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.03008,
    "h": 305.9
  },
  "luminance": 0.39932
}

Semantic roles & 50–950 ramp

primary
#AFA6BA
secondary
#DEE1DB
accent
#974F76
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA6BA

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

Preview Lab → · Contrast checker → · Palette generator →

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