#AFA8BF#AFA8BF

#AFA8BF is a light, muted violet. Relative luminance 0.409; OKLCH L 74.5% C 0.034 H 299.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA8BF
RGBrgb(175, 168, 191)
HSLhsl(258, 15%, 70%)
HSVhsv(258, 12%, 75%)
CMYKcmyk(8.4%, 12%, 0%, 25.1%)
CIE-LABlab(70.09, 6.96, -10.85)
CIE-LCHlch(70.09, 12.89, 302.68°)
OKLaboklab(74.48% 0.0165 -0.0292)
OKLCHoklch(74.48% 0.034 299.5)
XYZxyz(41.0840, 40.8808, 55.0065)
Luminance0.4088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8BF #B8BFA8
analogous
#A8ACBF #AFA8BF #BAA8BF
triadic
#AFA8BF #BFAFA8 #A8BFAF
tetradic
#AFA8BF #BFA8AC #B8BFA8 #A8BFBA
square
#AFA8BF #BFA8AC #B8BFA8 #A8BFBA
split-complementary
#AFA8BF #BFBAA8 #ACBFA8
monochromatic
#6F6488 #8F85A5 #AFA8BF #CFCBD9 #EFEDF2

Accessibility & contrast

On white

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

On black

9.18
#AFA8BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8BF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8BF#FFFFFF#000000##000000
##AFA8BF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4ABC0
Deuteranopia (green-blind)
#A5ABBE
Tritanopia (blue-blind)
#ACABAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa8bf;
/* rgb */ color: rgb(175, 168, 191);
/* oklch */ color: oklch(74.5% 0.034 299.5);
Tailwind
colors: {
  custom: {
    50: '#c7c1d2',
    500: '#afa8bf',
    950: '#000000',
  },
}
SCSS
$custom: #afa8bf;
$custom-light: #c7c1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8bf",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 191
  },
  "hsl": {
    "h": 258.261,
    "s": 15.232,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74478,
    "c": 0.03353,
    "h": 299.5
  },
  "luminance": 0.40881
}

Semantic roles & 50–950 ramp

primary
#AFA8BF
secondary
#E3E5DE
accent
#994C82
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA8BF

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

Preview Lab → · Contrast checker → · Palette generator →

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