#AFA2C6#AFA2C6

#AFA2C6 is a light, muted violet. Relative luminance 0.390; OKLCH L 73.5% C 0.053 H 301.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFA2C6
RGBrgb(175, 162, 198)
HSLhsl(262, 24%, 71%)
HSVhsv(262, 18%, 78%)
CMYKcmyk(11.6%, 18.2%, 0%, 22.4%)
CIE-LABlab(68.77, 11.74, -16.71)
CIE-LCHlch(68.77, 20.42, 305.10°)
OKLaboklab(73.53% 0.0278 -0.0453)
OKLCHoklch(73.53% 0.053 301.6)
XYZxyz(40.7906, 39.0318, 58.8001)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA2C6 #B9C6A2
analogous
#A2A7C6 #AFA2C6 #C1A2C6
triadic
#AFA2C6 #C6AFA2 #A2C6AF
tetradic
#AFA2C6 #C6A2A7 #B9C6A2 #A2C6C1
square
#AFA2C6 #C6A2A7 #B9C6A2 #A2C6C1
split-complementary
#AFA2C6 #C6C1A2 #A7C6A2
monochromatic
#6F5A93 #8E7CAF #AFA2C6 #D0C8DD #EFECF3

Accessibility & contrast

On white

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

On black

8.81
#AFA2C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA2C6
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA2C6#FFFFFF#000000##000000
##AFA2C61.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA8C8
Deuteranopia (green-blind)
#9EA8C5
Tritanopia (blue-blind)
#ABA7AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa2c6;
/* rgb */ color: rgb(175, 162, 198);
/* oklch */ color: oklch(73.5% 0.053 301.6);
Tailwind
colors: {
  custom: {
    50: '#c7bdd7',
    500: '#afa2c6',
    950: '#000000',
  },
}
SCSS
$custom: #afa2c6;
$custom-light: #c7bdd7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa2c6",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 198
  },
  "hsl": {
    "h": 261.667,
    "s": 24,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73527,
    "c": 0.05315,
    "h": 301.6
  },
  "luminance": 0.39032
}

Semantic roles & 50–950 ramp

primary
#AFA2C6
secondary
#E3E7DD
accent
#A24380
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA2C6

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

Preview Lab → · Contrast checker → · Palette generator →

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