#AFA7BB#AFA7BB

#AFA7BB is a light, muted violet. Relative luminance 0.403; OKLCH L 74.1% C 0.030 H 303.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AFA7BB
RGBrgb(175, 167, 187)
HSLhsl(264, 13%, 69%)
HSVhsv(264, 11%, 73%)
CMYKcmyk(6.4%, 10.7%, 0%, 26.7%)
CIE-LABlab(69.71, 6.70, -9.21)
CIE-LCHlch(69.71, 11.39, 306.04°)
OKLaboklab(74.14% 0.0165 -0.0247)
OKLCHoklch(74.14% 0.03 303.8)
XYZxyz(40.4659, 40.3393, 52.6585)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA7BB #B3BBA7
analogous
#A7A9BB #AFA7BB #B9A7BB
triadic
#AFA7BB #BBAFA7 #A7BBAF
tetradic
#AFA7BB #BBA7A9 #B3BBA7 #A7BBB9
square
#AFA7BB #BBA7A9 #B3BBA7 #A7BBB9
split-complementary
#AFA7BB #BBB9A7 #A9BBA7
monochromatic
#716583 #9084A0 #AFA7BB #CECAD6 #EEECF0

Accessibility & contrast

On white

2.32
#AFA7BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AFA7BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA7BB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA7BB#FFFFFF#000000##000000
##AFA7BB1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa7bb;
/* rgb */ color: rgb(175, 167, 187);
/* oklch */ color: oklch(74.1% 0.030 303.8);
Tailwind
colors: {
  custom: {
    50: '#c6c1cf',
    500: '#afa7bb',
    950: '#000000',
  },
}
SCSS
$custom: #afa7bb;
$custom-light: #c6c1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#afa7bb",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 187
  },
  "hsl": {
    "h": 264,
    "s": 12.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7414,
    "c": 0.02972,
    "h": 303.8
  },
  "luminance": 0.40339
}

Semantic roles & 50–950 ramp

primary
#AFA7BB
secondary
#DFE2DC
accent
#974F7A
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA7BB

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

Preview Lab → · Contrast checker → · Palette generator →

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