#AFA2C8#AFA2C8

#AFA2C8 is a light, muted violet. Relative luminance 0.391; OKLCH L 73.6% C 0.056 H 300.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFA2C8
RGBrgb(175, 162, 200)
HSLhsl(261, 26%, 71%)
HSVhsv(261, 19%, 78%)
CMYKcmyk(12.5%, 19%, 0%, 21.6%)
CIE-LABlab(68.84, 12.17, -17.71)
CIE-LCHlch(68.84, 21.49, 304.48°)
OKLaboklab(73.6% 0.0285 -0.0481)
OKLCHoklch(73.6% 0.056 300.7)
XYZxyz(41.0228, 39.1247, 60.0230)
Luminance0.3912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2C8 #BBC8A2
analogous
#A2A8C8 #AFA2C8 #C2A2C8
triadic
#AFA2C8 #C8AFA2 #A2C8AF
tetradic
#AFA2C8 #C8A2A8 #BBC8A2 #A2C8C2
square
#AFA2C8 #C8A2A8 #BBC8A2 #A2C8C2
split-complementary
#AFA2C8 #C8C2A2 #A8C8A2
monochromatic
#6E5997 #8E7CB1 #AFA2C8 #D0C8DF #EEECF4

Accessibility & contrast

On white

2.38
#AFA2C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFA2C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2C8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2C8#FFFFFF#000000##000000
##AFA2C81.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA8CA
Deuteranopia (green-blind)
#9DA8C7
Tritanopia (blue-blind)
#ABA7AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa2c8;
/* rgb */ color: rgb(175, 162, 200);
/* oklch */ color: oklch(73.6% 0.056 300.7);
Tailwind
colors: {
  custom: {
    50: '#c7bdd8',
    500: '#afa2c8',
    950: '#000000',
  },
}
SCSS
$custom: #afa2c8;
$custom-light: #c7bdd8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2c8",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 200
  },
  "hsl": {
    "h": 260.526,
    "s": 25.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73602,
    "c": 0.05588,
    "h": 300.7
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#AFA2C8
secondary
#E4E8DE
accent
#A44182
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA2C8

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

Preview Lab → · Contrast checker → · Palette generator →

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