#AF32AD#AF32AD

#AF32AD is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.2% C 0.210 H 328.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF32AD
RGBrgb(175, 50, 173)
HSLhsl(301, 56%, 44%)
HSVhsv(301, 71%, 69%)
CMYKcmyk(0%, 71.4%, 1.1%, 31.4%)
CIE-LABlab(44.82, 63.92, -39.47)
CIE-LCHlch(44.82, 75.12, 328.31°)
OKLaboklab(55.19% 0.1792 -0.1092)
OKLCHoklch(55.19% 0.21 328.6)
XYZxyz(26.3624, 14.4142, 40.9208)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32AD #32AF34
analogous
#7332AF #AF32AD #AF326F
triadic
#AF32AD #ADAF32 #32ADAF
tetradic
#AF32AD #AF7332 #32AF34 #326FAF
square
#AF32AD #AF7332 #32AF34 #326FAF
split-complementary
#AF32AD #6FAF32 #32AF73
monochromatic
#50174F #7F247E #AF32AD #CD51CB #DB81D9

Accessibility & contrast

On white

5.41
#AF32AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF32AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32AD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32AD#FFFFFF#000000##FFFFFF
##AF32AD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#5470AA
Tritanopia (blue-blind)
#B5446C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af32ad;
/* rgb */ color: rgb(175, 50, 173);
/* oklch */ color: oklch(55.2% 0.210 328.6);
Tailwind
colors: {
  custom: {
    50: '#cb76c6',
    500: '#af32ad',
    950: '#000000',
  },
}
SCSS
$custom: #af32ad;
$custom-light: #cb76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af32ad",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 300.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.20983,
    "h": 328.6
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#AF32AD
secondary
#79C47A
accent
#DF4B49
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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