#AF32AB#AF32AB

#AF32AB is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.208 H 329.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF32AB
RGBrgb(175, 50, 171)
HSLhsl(302, 56%, 44%)
HSVhsv(302, 71%, 69%)
CMYKcmyk(0%, 71.4%, 2.3%, 31.4%)
CIE-LABlab(44.71, 63.59, -38.45)
CIE-LCHlch(44.71, 74.31, 328.84°)
OKLaboklab(55.08% 0.1792 -0.1062)
OKLCHoklch(55.08% 0.208 329.3)
XYZxyz(26.1703, 14.3374, 39.9092)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32AB #32AF36
analogous
#7532AF #AF32AB #AF326D
triadic
#AF32AB #ABAF32 #32ABAF
tetradic
#AF32AB #AF7532 #32AF36 #326DAF
square
#AF32AB #AF7532 #32AF36 #326DAF
split-complementary
#AF32AB #6DAF32 #32AF75
monochromatic
#50174E #7F247C #AF32AB #CD51C9 #DB81D8

Accessibility & contrast

On white

5.43
#AF32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF32AB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32AB#FFFFFF#000000##FFFFFF
##AF32AB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#B5436B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af32ab;
/* rgb */ color: rgb(175, 50, 171);
/* oklch */ color: oklch(55.1% 0.208 329.3);
Tailwind
colors: {
  custom: {
    50: '#ca76c4',
    500: '#af32ab',
    950: '#000000',
  },
}
SCSS
$custom: #af32ab;
$custom-light: #ca76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af32ab",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 301.92,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55078,
    "c": 0.20828,
    "h": 329.3
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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