#AF32B6#AF32B6

#AF32B6 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.217 H 325.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF32B6
RGBrgb(175, 50, 182)
HSLhsl(297, 57%, 45%)
HSVhsv(297, 73%, 71%)
CMYKcmyk(3.8%, 72.5%, 0%, 28.6%)
CIE-LABlab(45.32, 65.42, -43.97)
CIE-LCHlch(45.32, 78.83, 326.09°)
OKLaboklab(55.71% 0.1792 -0.1223)
OKLCHoklch(55.71% 0.217 325.7)
XYZxyz(27.2627, 14.7744, 45.6627)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32B6 #39B632
analogous
#6D32B6 #AF32B6 #B6327B
triadic
#AF32B6 #B6AF32 #32B6AF
tetradic
#AF32B6 #B66D32 #39B632 #327BB6
square
#AF32B6 #B66D32 #39B632 #327BB6
split-complementary
#AF32B6 #7BB632 #32B66D
monochromatic
#531856 #812586 #AF32B6 #CA55D0 #D985DD

Accessibility & contrast

On white

5.31
#AF32B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF32B6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32B6#FFFFFF#000000##FFFFFF
##AF32B61.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61BA
Deuteranopia (green-blind)
#4F71B3
Tritanopia (blue-blind)
#B34871
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af32b6;
/* rgb */ color: rgb(175, 50, 182);
/* oklch */ color: oklch(55.7% 0.217 325.7);
Tailwind
colors: {
  custom: {
    50: '#cb76cc',
    500: '#af32b6',
    950: '#000000',
  },
}
SCSS
$custom: #af32b6;
$custom-light: #cb76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af32b6",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 296.818,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55713,
    "c": 0.2169,
    "h": 325.7
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#AF32B6
secondary
#81C77D
accent
#E04850
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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