#AFA2C0#AFA2C0

#AFA2C0 is a light, muted violet. Relative luminance 0.388; OKLCH L 73.3% C 0.045 H 304.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFA2C0
RGBrgb(175, 162, 192)
HSLhsl(266, 19%, 69%)
HSVhsv(266, 16%, 75%)
CMYKcmyk(8.9%, 15.6%, 0%, 24.7%)
CIE-LABlab(68.58, 10.49, -13.68)
CIE-LCHlch(68.58, 17.23, 307.48°)
OKLaboklab(73.31% 0.0258 -0.0369)
OKLCHoklch(73.31% 0.045 304.9)
XYZxyz(40.1122, 38.7605, 55.2273)
Luminance0.3876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2C0 #B3C0A2
analogous
#A2A4C0 #AFA2C0 #BEA2C0
triadic
#AFA2C0 #C0AFA2 #A2C0AF
tetradic
#AFA2C0 #C0A2A4 #B3C0A2 #A2C0BE
square
#AFA2C0 #C0A2A4 #B3C0A2 #A2C0BE
split-complementary
#AFA2C0 #C0BEA2 #A4C0A2
monochromatic
#715E8A #907EA7 #AFA2C0 #CEC6D9 #EEEBF1

Accessibility & contrast

On white

2.40
#AFA2C0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#AFA2C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2C0
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2C0#FFFFFF#000000##000000
##AFA2C01.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA7C1
Deuteranopia (green-blind)
#9FA7BF
Tritanopia (blue-blind)
#ADA6AC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2c0;
/* rgb */ color: rgb(175, 162, 192);
/* oklch */ color: oklch(73.3% 0.045 304.9);
Tailwind
colors: {
  custom: {
    50: '#c7bdd3',
    500: '#afa2c0',
    950: '#000000',
  },
}
SCSS
$custom: #afa2c0;
$custom-light: #c7bdd3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2c0",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 192
  },
  "hsl": {
    "h": 266,
    "s": 19.231,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73309,
    "c": 0.045,
    "h": 304.9
  },
  "luminance": 0.3876
}

Semantic roles & 50–950 ramp

primary
#AFA2C0
secondary
#DFE3DB
accent
#9E4878
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131214
muted
#828182

Preview Lab

Preview with #AFA2C0

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

Preview Lab → · Contrast checker → · Palette generator →

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