#AFA4C2#AFA4C2

#AFA4C2 is a light, muted violet. Relative luminance 0.396; OKLCH L 73.8% C 0.044 H 302.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFA4C2
RGBrgb(175, 164, 194)
HSLhsl(262, 20%, 70%)
HSVhsv(262, 15%, 76%)
CMYKcmyk(9.8%, 15.5%, 0%, 23.9%)
CIE-LABlab(69.15, 9.79, -13.92)
CIE-LCHlch(69.15, 17.02, 305.13°)
OKLaboklab(73.78% 0.0235 -0.0376)
OKLCHoklch(73.78% 0.044 302)
XYZxyz(40.6904, 39.5599, 56.5206)
Luminance0.3956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4C2 #B7C2A4
analogous
#A4A8C2 #AFA4C2 #BEA4C2
triadic
#AFA4C2 #C2AFA4 #A4C2AF
tetradic
#AFA4C2 #C2A4A8 #B7C2A4 #A4C2BE
square
#AFA4C2 #C2A4A8 #B7C2A4 #A4C2BE
split-complementary
#AFA4C2 #C2BEA4 #A8C2A4
monochromatic
#705F8D #8F7FA9 #AFA4C2 #CFC9DB #EFEDF3

Accessibility & contrast

On white

2.36
#AFA4C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFA4C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4C2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4C2#FFFFFF#000000##000000
##AFA4C21.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA9C3
Deuteranopia (green-blind)
#A1A9C1
Tritanopia (blue-blind)
#ACA8AE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa4c2;
/* rgb */ color: rgb(175, 164, 194);
/* oklch */ color: oklch(73.8% 0.044 302.0);
Tailwind
colors: {
  custom: {
    50: '#c7bfd4',
    500: '#afa4c2',
    950: '#000000',
  },
}
SCSS
$custom: #afa4c2;
$custom-light: #c7bfd4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4c2",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 194
  },
  "hsl": {
    "h": 262,
    "s": 19.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73779,
    "c": 0.04432,
    "h": 302
  },
  "luminance": 0.3956
}

Semantic roles & 50–950 ramp

primary
#AFA4C2
secondary
#E2E5DD
accent
#9E477E
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131214
muted
#828183

Preview Lab

Preview with #AFA4C2

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

Preview Lab → · Contrast checker → · Palette generator →

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