#AFA6BC#AFA6BC

#AFA6BC is a light, muted violet. Relative luminance 0.400; OKLCH L 74.0% C 0.033 H 304.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA6BC
RGBrgb(175, 166, 188)
HSLhsl(265, 14%, 69%)
HSVhsv(265, 12%, 74%)
CMYKcmyk(6.9%, 11.7%, 0%, 26.3%)
CIE-LABlab(69.48, 7.45, -10.11)
CIE-LCHlch(69.48, 12.56, 306.42°)
OKLaboklab(73.97% 0.0184 -0.0271)
OKLCHoklch(73.97% 0.033 304.1)
XYZxyz(40.3909, 40.0173, 53.1634)
Luminance0.4002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6BC #B3BCA6
analogous
#A6A8BC #AFA6BC #BAA6BC
triadic
#AFA6BC #BCAFA6 #A6BCAF
tetradic
#AFA6BC #BCA6A8 #B3BCA6 #A6BCBA
square
#AFA6BC #BCA6A8 #B3BCA6 #A6BCBA
split-complementary
#AFA6BC #BCBAA6 #A8BCA6
monochromatic
#716384 #9083A2 #AFA6BC #CEC9D6 #EEECF1

Accessibility & contrast

On white

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

On black

9.00
#AFA6BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6BC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6BC#FFFFFF#000000##000000
##AFA6BC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa6bc;
/* rgb */ color: rgb(175, 166, 188);
/* oklch */ color: oklch(74.0% 0.033 304.1);
Tailwind
colors: {
  custom: {
    50: '#c7c0d0',
    500: '#afa6bc',
    950: '#000000',
  },
}
SCSS
$custom: #afa6bc;
$custom-light: #c7c0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6bc",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 188
  },
  "hsl": {
    "h": 264.545,
    "s": 14.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73972,
    "c": 0.03276,
    "h": 304.1
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#AFA6BC
secondary
#DFE2DC
accent
#984D7A
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA6BC

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

Preview Lab → · Contrast checker → · Palette generator →

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