#AFA0C2#AFA0C2

#AFA0C2 is a light, muted violet. Relative luminance 0.382; OKLCH L 73.0% C 0.051 H 305.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AFA0C2
RGBrgb(175, 160, 194)
HSLhsl(266, 22%, 69%)
HSVhsv(266, 18%, 76%)
CMYKcmyk(9.8%, 17.5%, 0%, 23.9%)
CIE-LABlab(68.13, 12.01, -15.46)
CIE-LCHlch(68.13, 19.58, 307.85°)
OKLaboklab(72.98% 0.0294 -0.0418)
OKLCHoklch(72.98% 0.051 305.2)
XYZxyz(39.9858, 38.1507, 56.2858)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0C2 #B3C2A0
analogous
#A0A2C2 #AFA0C2 #C0A0C2
triadic
#AFA0C2 #C2AFA0 #A0C2AF
tetradic
#AFA0C2 #C2A0A2 #B3C2A0 #A0C2C0
square
#AFA0C2 #C2A0A2 #B3C2A0 #A0C2C0
split-complementary
#AFA0C2 #C2C0A0 #A2C2A0
monochromatic
#715B8D #907BAA #AFA0C2 #CEC5DA #EEEBF2

Accessibility & contrast

On white

2.43
#AFA0C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AFA0C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0C2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0C2#FFFFFF#000000##000000
##AFA0C21.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA6C4
Deuteranopia (green-blind)
#9DA6C1
Tritanopia (blue-blind)
#ACA4AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa0c2;
/* rgb */ color: rgb(175, 160, 194);
/* oklch */ color: oklch(73.0% 0.051 305.2);
Tailwind
colors: {
  custom: {
    50: '#c7bcd4',
    500: '#afa0c2',
    950: '#000000',
  },
}
SCSS
$custom: #afa0c2;
$custom-light: #c7bcd4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0c2",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 194
  },
  "hsl": {
    "h": 266.471,
    "s": 21.795,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72984,
    "c": 0.05114,
    "h": 305.2
  },
  "luminance": 0.38151
}

Semantic roles & 50–950 ramp

primary
#AFA0C2
secondary
#DFE4DA
accent
#A04578
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA0C2

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

Preview Lab → · Contrast checker → · Palette generator →

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