#AFA2BA#AFA2BA

#AFA2BA is a light, muted violet. Relative luminance 0.385; OKLCH L 73.1% C 0.037 H 309.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AFA2BA
RGBrgb(175, 162, 186)
HSLhsl(273, 15%, 68%)
HSVhsv(273, 13%, 73%)
CMYKcmyk(5.9%, 12.9%, 0%, 27.1%)
CIE-LABlab(68.39, 9.26, -10.63)
CIE-LCHlch(68.39, 14.10, 311.07°)
OKLaboklab(73.1% 0.0236 -0.0285)
OKLCHoklch(73.1% 0.037 309.6)
XYZxyz(39.4609, 38.5000, 51.7972)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2BA #ADBAA2
analogous
#A3A2BA #AFA2BA #BAA2B9
triadic
#AFA2BA #BAAFA2 #A2BAAF
tetradic
#AFA2BA #BAA3A2 #ADBAA2 #A2B9BA
square
#AFA2BA #BAA3A2 #ADBAA2 #A2B9BA
split-complementary
#AFA2BA #B9BAA2 #A2BAA3
monochromatic
#726082 #917FA0 #AFA2BA #CDC5D4 #EBE8EE

Accessibility & contrast

On white

2.41
#AFA2BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AFA2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2BA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2BA#FFFFFF#000000##000000
##AFA2BA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA6BB
Deuteranopia (green-blind)
#A1A7B9
Tritanopia (blue-blind)
#AEA5AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2ba;
/* rgb */ color: rgb(175, 162, 186);
/* oklch */ color: oklch(73.1% 0.037 309.6);
Tailwind
colors: {
  custom: {
    50: '#c7bdce',
    500: '#afa2ba',
    950: '#000000',
  },
}
SCSS
$custom: #afa2ba;
$custom-light: #c7bdce;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2ba",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 186
  },
  "hsl": {
    "h": 272.5,
    "s": 14.815,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.03705,
    "h": 309.6
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#AFA2BA
secondary
#DCE0D8
accent
#994C70
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131213
muted
#828182

Preview Lab

Preview with #AFA2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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