#AFA6BD#AFA6BD

#AFA6BD is a light, muted violet. Relative luminance 0.401; OKLCH L 74.0% C 0.034 H 303.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFA6BD
RGBrgb(175, 166, 189)
HSLhsl(263, 15%, 70%)
HSVhsv(263, 12%, 74%)
CMYKcmyk(7.4%, 12.2%, 0%, 25.9%)
CIE-LABlab(69.51, 7.66, -10.61)
CIE-LCHlch(69.51, 13.09, 305.81°)
OKLaboklab(74.01% 0.0187 -0.0285)
OKLCHoklch(74.01% 0.034 303.3)
XYZxyz(40.4990, 40.0605, 53.7331)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6BD #B4BDA6
analogous
#A6A9BD #AFA6BD #BBA6BD
triadic
#AFA6BD #BDAFA6 #A6BDAF
tetradic
#AFA6BD #BDA6A9 #B4BDA6 #A6BDBB
square
#AFA6BD #BDA6A9 #B4BDA6 #A6BDBB
split-complementary
#AFA6BD #BDBBA6 #A9BDA6
monochromatic
#716386 #8F83A3 #AFA6BD #CFC9D7 #EEECF1

Accessibility & contrast

On white

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

On black

9.01
#AFA6BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6BD
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6BD#FFFFFF#000000##000000
##AFA6BD1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa6bd;
/* rgb */ color: rgb(175, 166, 189);
/* oklch */ color: oklch(74.0% 0.034 303.3);
Tailwind
colors: {
  custom: {
    50: '#c7c0d0',
    500: '#afa6bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa6bd;
$custom-light: #c7c0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6bd",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 189
  },
  "hsl": {
    "h": 263.478,
    "s": 14.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.03413,
    "h": 303.3
  },
  "luminance": 0.40061
}

Semantic roles & 50–950 ramp

primary
#AFA6BD
secondary
#E0E3DC
accent
#994C7B
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA6BD

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

Preview Lab → · Contrast checker → · Palette generator →

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