#AF32B9#AF32B9

#AF32B9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.219 H 324.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF32B9
RGBrgb(175, 50, 185)
HSLhsl(296, 57%, 46%)
HSVhsv(296, 73%, 73%)
CMYKcmyk(5.4%, 73%, 0%, 27.5%)
CIE-LABlab(45.50, 65.93, -45.46)
CIE-LCHlch(45.50, 80.08, 325.42°)
OKLaboklab(55.89% 0.179 -0.1266)
OKLCHoklch(55.89% 0.219 324.7)
XYZxyz(27.5761, 14.8997, 47.3130)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32B9 #3CB932
analogous
#6B32B9 #AF32B9 #B9327F
triadic
#AF32B9 #B9AF32 #32B9AF
tetradic
#AF32B9 #B96B32 #3CB932 #327FB9
square
#AF32B9 #B96B32 #3CB932 #327FB9
split-complementary
#AF32B9 #7FB932 #32B96B
monochromatic
#541859 #812589 #AF32B9 #C857D2 #D887DF

Accessibility & contrast

On white

5.28
#AF32B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF32B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32B9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32B9#FFFFFF#000000##FFFFFF
##AF32B91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#4D71B6
Tritanopia (blue-blind)
#B34A73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af32b9;
/* rgb */ color: rgb(175, 50, 185);
/* oklch */ color: oklch(55.9% 0.219 324.7);
Tailwind
colors: {
  custom: {
    50: '#cb77ce',
    500: '#af32b9',
    950: '#000000',
  },
}
SCSS
$custom: #af32b9;
$custom-light: #cb77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af32b9",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 295.556,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.21928,
    "h": 324.7
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#AF32B9
secondary
#84C87F
accent
#E14752
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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