#AF32AC#AF32AC

#AF32AC is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.209 H 329.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF32AC
RGBrgb(175, 50, 172)
HSLhsl(301, 56%, 44%)
HSVhsv(301, 71%, 69%)
CMYKcmyk(0%, 71.4%, 1.7%, 31.4%)
CIE-LABlab(44.77, 63.75, -38.96)
CIE-LCHlch(44.77, 74.71, 328.57°)
OKLaboklab(55.13% 0.1792 -0.1077)
OKLCHoklch(55.13% 0.209 329)
XYZxyz(26.2660, 14.3757, 40.4131)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32AC #32AF35
analogous
#7432AF #AF32AC #AF326E
triadic
#AF32AC #ACAF32 #32ACAF
tetradic
#AF32AC #AF7432 #32AF35 #326EAF
square
#AF32AC #AF7432 #32AF35 #326EAF
split-complementary
#AF32AC #6EAF32 #32AF74
monochromatic
#50174E #7F247D #AF32AC #CD51CA #DB81D9

Accessibility & contrast

On white

5.42
#AF32AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF32AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32AC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32AC#FFFFFF#000000##FFFFFF
##AF32AC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#B5446C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af32ac;
/* rgb */ color: rgb(175, 50, 172);
/* oklch */ color: oklch(55.1% 0.209 329.0);
Tailwind
colors: {
  custom: {
    50: '#ca76c5',
    500: '#af32ac',
    950: '#000000',
  },
}
SCSS
$custom: #af32ac;
$custom-light: #ca76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af32ac",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 301.44,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.20905,
    "h": 329
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#AF32AC
secondary
#79C47B
accent
#DF4D49
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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