#AFA6BB#AFA6BB

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

Color values

HEX#AFA6BB
RGBrgb(175, 166, 187)
HSLhsl(266, 13%, 69%)
HSVhsv(266, 11%, 73%)
CMYKcmyk(6.4%, 11.2%, 0%, 26.7%)
CIE-LABlab(69.45, 7.25, -9.60)
CIE-LCHlch(69.45, 12.03, 307.08°)
OKLaboklab(73.94% 0.018 -0.0257)
OKLCHoklch(73.94% 0.031 305)
XYZxyz(40.2835, 39.9743, 52.5977)
Luminance0.3997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6BB #B2BBA6
analogous
#A6A8BB #AFA6BB #BAA6BB
triadic
#AFA6BB #BBAFA6 #A6BBAF
tetradic
#AFA6BB #BBA6A8 #B2BBA6 #A6BBBA
square
#AFA6BB #BBA6A8 #B2BBA6 #A6BBBA
split-complementary
#AFA6BB #BBBAA6 #A8BBA6
monochromatic
#716483 #9083A0 #AFA6BB #CEC9D6 #EDEBF0

Accessibility & contrast

On white

2.33
#AFA6BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA6BB#FFFFFF#000000##000000
##AFA6BB1.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A9BC
Deuteranopia (green-blind)
#A4AABA
Tritanopia (blue-blind)
#ADA9AD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa6bb;
/* rgb */ color: rgb(175, 166, 187);
/* oklch */ color: oklch(73.9% 0.031 305.0);
Tailwind
colors: {
  custom: {
    50: '#c7c0cf',
    500: '#afa6bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa6bb;
$custom-light: #c7c0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6bb",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 187
  },
  "hsl": {
    "h": 265.714,
    "s": 13.376,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73938,
    "c": 0.03142,
    "h": 305
  },
  "luminance": 0.39974
}

Semantic roles & 50–950 ramp

primary
#AFA6BB
secondary
#DFE1DB
accent
#984E78
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA6BB

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

Preview Lab → · Contrast checker → · Palette generator →

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