#AF32B5#AF32B5

#AF32B5 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.216 H 326.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF32B5
RGBrgb(175, 50, 181)
HSLhsl(297, 57%, 45%)
HSVhsv(297, 72%, 71%)
CMYKcmyk(3.3%, 72.4%, 0%, 29%)
CIE-LABlab(45.27, 65.25, -43.48)
CIE-LCHlch(45.27, 78.41, 326.32°)
OKLaboklab(55.65% 0.1792 -0.1208)
OKLCHoklch(55.65% 0.216 326)
XYZxyz(27.1597, 14.7332, 45.1204)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32B5 #38B532
analogous
#6D32B5 #AF32B5 #B53279
triadic
#AF32B5 #B5AF32 #32B5AF
tetradic
#AF32B5 #B56D32 #38B532 #3279B5
square
#AF32B5 #B56D32 #38B532 #3279B5
split-complementary
#AF32B5 #79B532 #32B56D
monochromatic
#521855 #812585 #AF32B5 #CA54D0 #D984DD

Accessibility & contrast

On white

5.32
#AF32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32B5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32B5#FFFFFF#000000##FFFFFF
##AF32B51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D61B9
Deuteranopia (green-blind)
#5070B2
Tritanopia (blue-blind)
#B34871
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af32b5;
/* rgb */ color: rgb(175, 50, 181);
/* oklch */ color: oklch(55.7% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#cb76cc',
    500: '#af32b5',
    950: '#000000',
  },
}
SCSS
$custom: #af32b5;
$custom-light: #cb76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af32b5",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 297.252,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.2161,
    "h": 326
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#AF32B5
secondary
#80C77C
accent
#E0484F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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