#AFA2C2#AFA2C2

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

Color values

HEX#AFA2C2
RGBrgb(175, 162, 194)
HSLhsl(264, 21%, 70%)
HSVhsv(264, 16%, 76%)
CMYKcmyk(9.8%, 16.5%, 0%, 23.9%)
CIE-LABlab(68.64, 10.90, -14.69)
CIE-LCHlch(68.64, 18.29, 306.58°)
OKLaboklab(73.38% 0.0265 -0.0397)
OKLCHoklch(73.38% 0.048 303.7)
XYZxyz(40.3353, 38.8497, 56.4023)
Luminance0.3885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2C2 #B5C2A2
analogous
#A2A5C2 #AFA2C2 #BFA2C2
triadic
#AFA2C2 #C2AFA2 #A2C2AF
tetradic
#AFA2C2 #C2A2A5 #B5C2A2 #A2C2BF
square
#AFA2C2 #C2A2A5 #B5C2A2 #A2C2BF
split-complementary
#AFA2C2 #C2BFA2 #A5C2A2
monochromatic
#705D8D #8F7DAA #AFA2C2 #CFC7DA #EFECF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA2C2#FFFFFF#000000##000000
##AFA2C21.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)
#9DA7C3
Deuteranopia (green-blind)
#9FA7C1
Tritanopia (blue-blind)
#ACA6AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa2c2;
/* rgb */ color: rgb(175, 162, 194);
/* oklch */ color: oklch(73.4% 0.048 303.7);
Tailwind
colors: {
  custom: {
    50: '#c7bdd4',
    500: '#afa2c2',
    950: '#000000',
  },
}
SCSS
$custom: #afa2c2;
$custom-light: #c7bdd4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2c2",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 194
  },
  "hsl": {
    "h": 264.375,
    "s": 20.779,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73381,
    "c": 0.0477,
    "h": 303.7
  },
  "luminance": 0.3885
}

Semantic roles & 50–950 ramp

primary
#AFA2C2
secondary
#E1E4DB
accent
#9F467B
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA2C2

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

Preview Lab → · Contrast checker → · Palette generator →

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