#AFA7BD#AFA7BD

#AFA7BD is a light, muted violet. Relative luminance 0.404; OKLCH L 74.2% C 0.032 H 302.1°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA7BD
RGBrgb(175, 167, 189)
HSLhsl(262, 14%, 70%)
HSVhsv(262, 12%, 74%)
CMYKcmyk(7.4%, 11.6%, 0%, 25.9%)
CIE-LABlab(69.77, 7.11, -10.23)
CIE-LCHlch(69.77, 12.45, 304.79°)
OKLaboklab(74.21% 0.0173 -0.0275)
OKLCHoklch(74.21% 0.032 302.1)
XYZxyz(40.6815, 40.4255, 53.7940)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7BD #B5BDA7
analogous
#A7AABD #AFA7BD #BAA7BD
triadic
#AFA7BD #BDAFA7 #A7BDAF
tetradic
#AFA7BD #BDA7AA #B5BDA7 #A7BDBA
square
#AFA7BD #BDA7AA #B5BDA7 #A7BDBA
split-complementary
#AFA7BD #BDBAA7 #AABDA7
monochromatic
#706485 #8F84A3 #AFA7BD #CFCAD7 #EFEDF1

Accessibility & contrast

On white

2.31
#AFA7BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AFA7BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7BD
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7BD#FFFFFF#000000##000000
##AFA7BD1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3AABE
Deuteranopia (green-blind)
#A5AABC
Tritanopia (blue-blind)
#ADAAAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afa7bd;
/* rgb */ color: rgb(175, 167, 189);
/* oklch */ color: oklch(74.2% 0.032 302.1);
Tailwind
colors: {
  custom: {
    50: '#c7c1d0',
    500: '#afa7bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa7bd;
$custom-light: #c7c1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7bd",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 189
  },
  "hsl": {
    "h": 261.818,
    "s": 14.286,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74208,
    "c": 0.03244,
    "h": 302.1
  },
  "luminance": 0.40426
}

Semantic roles & 50–950 ramp

primary
#AFA7BD
secondary
#E1E3DD
accent
#984D7D
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA7BD

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

Preview Lab → · Contrast checker → · Palette generator →

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