#AFA3BA#AFA3BA

#AFA3BA is a light, muted violet. Relative luminance 0.389; OKLCH L 73.3% C 0.035 H 308.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#AFA3BA
RGBrgb(175, 163, 186)
HSLhsl(271, 14%, 68%)
HSVhsv(271, 12%, 73%)
CMYKcmyk(5.9%, 12.4%, 0%, 27.1%)
CIE-LABlab(68.65, 8.71, -10.25)
CIE-LCHlch(68.65, 13.45, 310.37°)
OKLaboklab(73.3% 0.0221 -0.0275)
OKLCHoklch(73.3% 0.035 308.8)
XYZxyz(39.6378, 38.8537, 51.8562)
Luminance0.3885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3BA #AEBAA3
analogous
#A3A3BA #AFA3BA #BAA3B9
triadic
#AFA3BA #BAAFA3 #A3BAAF
tetradic
#AFA3BA #BAA3A3 #AEBAA3 #A3B9BA
square
#AFA3BA #BAA3A3 #AEBAA3 #A3B9BA
split-complementary
#AFA3BA #B9BAA3 #A3BAA3
monochromatic
#726181 #9180A0 #AFA3BA #CDC6D4 #ECE9EE

Accessibility & contrast

On white

2.39
#AFA3BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#AFA3BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3BA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3BA#FFFFFF#000000##000000
##AFA3BA1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A7BB
Deuteranopia (green-blind)
#A2A8B9
Tritanopia (blue-blind)
#AEA6AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa3ba;
/* rgb */ color: rgb(175, 163, 186);
/* oklch */ color: oklch(73.3% 0.035 308.8);
Tailwind
colors: {
  custom: {
    50: '#c7bece',
    500: '#afa3ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ba;
$custom-light: #c7bece;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ba",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 186
  },
  "hsl": {
    "h": 271.304,
    "s": 14.286,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73299,
    "c": 0.03529,
    "h": 308.8
  },
  "luminance": 0.38854
}

Semantic roles & 50–950 ramp

primary
#AFA3BA
secondary
#DCE0D9
accent
#984D71
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA3BA

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

Preview Lab → · Contrast checker → · Palette generator →

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