#AF32AA#AF32AA

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

Color values

HEX#AF32AA
RGBrgb(175, 50, 170)
HSLhsl(302, 56%, 44%)
HSVhsv(302, 71%, 69%)
CMYKcmyk(0%, 71.4%, 2.9%, 31.4%)
CIE-LABlab(44.66, 63.43, -37.95)
CIE-LCHlch(44.66, 73.91, 329.11°)
OKLaboklab(55.02% 0.1791 -0.1048)
OKLCHoklch(55.02% 0.208 329.7)
XYZxyz(26.0753, 14.2994, 39.4091)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32AA #32AF37
analogous
#7632AF #AF32AA #AF326C
triadic
#AF32AA #AAAF32 #32AAAF
tetradic
#AF32AA #AF7632 #32AF37 #326CAF
square
#AF32AA #AF7632 #32AF37 #326CAF
split-complementary
#AF32AA #6CAF32 #32AF76
monochromatic
#50174E #7F247C #AF32AA #CD51C8 #DB81D7

Accessibility & contrast

On white

5.44
#AF32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32AA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32AA#FFFFFF#000000##FFFFFF
##AF32AA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#B5436B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af32aa;
/* rgb */ color: rgb(175, 50, 170);
/* oklch */ color: oklch(55.0% 0.208 329.7);
Tailwind
colors: {
  custom: {
    50: '#ca76c4',
    500: '#af32aa',
    950: '#000000',
  },
}
SCSS
$custom: #af32aa;
$custom-light: #ca76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af32aa",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 302.4,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.20751,
    "h": 329.7
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#AF32AA
secondary
#79C47C
accent
#DF4F49
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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