#AFA6C8#AFA6C8

#AFA6C8 is a light, muted violet. Relative luminance 0.406; OKLCH L 74.4% C 0.049 H 297.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#AFA6C8
RGBrgb(175, 166, 200)
HSLhsl(256, 24%, 72%)
HSVhsv(256, 17%, 78%)
CMYKcmyk(12.5%, 17%, 0%, 21.6%)
CIE-LABlab(69.86, 9.94, -16.17)
CIE-LCHlch(69.86, 18.98, 301.59°)
OKLaboklab(74.4% 0.0226 -0.0438)
OKLCHoklch(74.4% 0.049 297.3)
XYZxyz(41.7386, 40.5564, 60.2616)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA6C8 #BFC8A6
analogous
#A6AEC8 #AFA6C8 #C0A6C8
triadic
#AFA6C8 #C8AFA6 #A6C8AF
tetradic
#AFA6C8 #C8A6AE #BFC8A6 #A6C8C0
square
#AFA6C8 #C8A6AE #BFC8A6 #A6C8C0
split-complementary
#AFA6C8 #C8C0A6 #AEC8A6
monochromatic
#6C5D97 #8D80B1 #AFA6C8 #D1CCDF #EEECF3

Accessibility & contrast

On white

2.30
#AFA6C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#AFA6C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA6C8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA6C8#FFFFFF#000000##000000
##AFA6C81.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FABCA
Deuteranopia (green-blind)
#A1AAC7
Tritanopia (blue-blind)
#ABABB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa6c8;
/* rgb */ color: rgb(175, 166, 200);
/* oklch */ color: oklch(74.4% 0.049 297.3);
Tailwind
colors: {
  custom: {
    50: '#c7c0d8',
    500: '#afa6c8',
    950: '#000000',
  },
}
SCSS
$custom: #afa6c8;
$custom-light: #c7c0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa6c8",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 200
  },
  "hsl": {
    "h": 255.882,
    "s": 23.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74396,
    "c": 0.0493,
    "h": 297.3
  },
  "luminance": 0.40557
}

Semantic roles & 50–950 ramp

primary
#AFA6C8
secondary
#E7E9E1
accent
#A24389
background
#FCFBFD
surface
#F8F7FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA6C8

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

Preview Lab → · Contrast checker → · Palette generator →

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