#AF32AE#AF32AE

#AF32AE is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.211 H 328.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF32AE
RGBrgb(175, 50, 174)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 71%, 69%)
CMYKcmyk(0%, 71.4%, 0.6%, 31.4%)
CIE-LABlab(44.88, 64.08, -39.97)
CIE-LCHlch(44.88, 75.52, 328.05°)
OKLaboklab(55.25% 0.1792 -0.1106)
OKLCHoklch(55.25% 0.211 328.3)
XYZxyz(26.4595, 14.4531, 41.4323)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32AE #32AF33
analogous
#7232AF #AF32AE #AF3270
triadic
#AF32AE #AEAF32 #32AEAF
tetradic
#AF32AE #AF7232 #32AF33 #3270AF
square
#AF32AE #AF7232 #32AF33 #3270AF
split-complementary
#AF32AE #70AF32 #32AF72
monochromatic
#50174F #7F247F #AF32AE #CD51CC #DB81DA

Accessibility & contrast

On white

5.40
#AF32AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF32AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32AE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32AE#FFFFFF#000000##FFFFFF
##AF32AE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#B5446D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af32ae;
/* rgb */ color: rgb(175, 50, 174);
/* oklch */ color: oklch(55.2% 0.211 328.3);
Tailwind
colors: {
  custom: {
    50: '#cb76c6',
    500: '#af32ae',
    950: '#000000',
  },
}
SCSS
$custom: #af32ae;
$custom-light: #cb76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af32ae",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 300.48,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.2106,
    "h": 328.3
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#AF32AE
secondary
#79C479
accent
#DF4A49
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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