#AFA8BA#AFA8BA

#AFA8BA is a light, muted violet. Relative luminance 0.407; OKLCH L 74.3% C 0.027 H 303.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#AFA8BA
RGBrgb(175, 168, 186)
HSLhsl(263, 12%, 69%)
HSVhsv(263, 10%, 73%)
CMYKcmyk(5.9%, 9.7%, 0%, 27.1%)
CIE-LABlab(69.94, 5.95, -8.32)
CIE-LCHlch(69.94, 10.23, 305.59°)
OKLaboklab(74.31% 0.0147 -0.0223)
OKLCHoklch(74.31% 0.027 303.4)
XYZxyz(40.5432, 40.6644, 52.1580)
Luminance0.4066 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA8BA #B3BAA8
analogous
#A8AABA #AFA8BA #B8A8BA
triadic
#AFA8BA #BAAFA8 #A8BAAF
tetradic
#AFA8BA #BAA8AA #B3BAA8 #A8BAB8
square
#AFA8BA #BAA8AA #B3BAA8 #A8BAB8
split-complementary
#AFA8BA #BAB8A8 #AABAA8
monochromatic
#716681 #90869F #AFA8BA #CECAD5 #EEECF0

Accessibility & contrast

On white

2.30
#AFA8BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#AFA8BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA8BA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA8BA#FFFFFF#000000##000000
##AFA8BA1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5ABBB
Deuteranopia (green-blind)
#A6ABB9
Tritanopia (blue-blind)
#ADAAAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa8ba;
/* rgb */ color: rgb(175, 168, 186);
/* oklch */ color: oklch(74.3% 0.027 303.4);
Tailwind
colors: {
  custom: {
    50: '#c6c1ce',
    500: '#afa8ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa8ba;
$custom-light: #c6c1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa8ba",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 186
  },
  "hsl": {
    "h": 263.333,
    "s": 11.538,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74309,
    "c": 0.02666,
    "h": 303.4
  },
  "luminance": 0.40664
}

Semantic roles & 50–950 ramp

primary
#AFA8BA
secondary
#DFE1DC
accent
#96507A
background
#FCFBFC
surface
#F8F7F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA8BA

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

Preview Lab → · Contrast checker → · Palette generator →

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