#AFA8BD#AFA8BD

#AFA8BD is a light, muted violet. Relative luminance 0.408; OKLCH L 74.4% C 0.031 H 300.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#AFA8BD
RGBrgb(175, 168, 189)
HSLhsl(260, 14%, 70%)
HSVhsv(260, 11%, 74%)
CMYKcmyk(7.4%, 11.1%, 0%, 25.9%)
CIE-LABlab(70.03, 6.55, -9.84)
CIE-LCHlch(70.03, 11.82, 303.67°)
OKLaboklab(74.41% 0.0158 -0.0264)
OKLCHoklch(74.41% 0.031 300.8)
XYZxyz(40.8654, 40.7933, 53.8553)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8BD #B6BDA8
analogous
#A8ACBD #AFA8BD #B9A8BD
triadic
#AFA8BD #BDAFA8 #A8BDAF
tetradic
#AFA8BD #BDA8AC #B6BDA8 #A8BDB9
square
#AFA8BD #BDA8AC #B6BDA8 #A8BDB9
split-complementary
#AFA8BD #BDB9A8 #ACBDA8
monochromatic
#706585 #8F85A3 #AFA8BD #CFCBD7 #EFEEF2

Accessibility & contrast

On white

2.29
#AFA8BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#AFA8BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8BD
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8BD#FFFFFF#000000##000000
##AFA8BD1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4ABBE
Deuteranopia (green-blind)
#A5ABBC
Tritanopia (blue-blind)
#ADABAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa8bd;
/* rgb */ color: rgb(175, 168, 189);
/* oklch */ color: oklch(74.4% 0.031 300.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1d0',
    500: '#afa8bd',
    950: '#000000',
  },
}
SCSS
$custom: #afa8bd;
$custom-light: #c7c1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8bd",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 189
  },
  "hsl": {
    "h": 260,
    "s": 13.725,
    "l": 70
  },
  "oklch": {
    "l": 0.7441,
    "c": 0.03077,
    "h": 300.8
  },
  "luminance": 0.40793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA8BD

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

Preview Lab → · Contrast checker → · Palette generator →

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