#AFA2BC#AFA2BC

#AFA2BC is a light, muted violet. Relative luminance 0.386; OKLCH L 73.2% C 0.040 H 307.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AFA2BC
RGBrgb(175, 162, 188)
HSLhsl(270, 16%, 69%)
HSVhsv(270, 14%, 74%)
CMYKcmyk(6.9%, 13.8%, 0%, 26.3%)
CIE-LABlab(68.45, 9.67, -11.65)
CIE-LCHlch(68.45, 15.14, 309.69°)
OKLaboklab(73.17% 0.0244 -0.0313)
OKLCHoklch(73.17% 0.04 307.9)
XYZxyz(39.6750, 38.5856, 52.9248)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2BC #AFBCA2
analogous
#A2A2BC #AFA2BC #BCA2BC
triadic
#AFA2BC #BCAFA2 #A2BCAF
tetradic
#AFA2BC #BCA2A2 #AFBCA2 #A2BCBC
square
#AFA2BC #BCA2A2 #AFBCA2 #A2BCBC
split-complementary
#AFA2BC #BCBCA2 #A2BCA2
monochromatic
#725F84 #907EA2 #AFA2BC #CEC6D6 #ECE9EF

Accessibility & contrast

On white

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

On black

8.72
#AFA2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2BC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2BC#FFFFFF#000000##000000
##AFA2BC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA6BD
Deuteranopia (green-blind)
#A0A7BB
Tritanopia (blue-blind)
#AEA5AB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2bc;
/* rgb */ color: rgb(175, 162, 188);
/* oklch */ color: oklch(73.2% 0.040 307.9);
Tailwind
colors: {
  custom: {
    50: '#c7bdd0',
    500: '#afa2bc',
    950: '#000000',
  },
}
SCSS
$custom: #afa2bc;
$custom-light: #c7bdd0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2bc",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 16.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73168,
    "c": 0.03967,
    "h": 307.9
  },
  "luminance": 0.38585
}

Semantic roles & 50–950 ramp

primary
#AFA2BC
secondary
#DDE1D9
accent
#9A4B73
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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