#AF32B2#AF32B2

#AF32B2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.214 H 327.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF32B2
RGBrgb(175, 50, 178)
HSLhsl(299, 56%, 45%)
HSVhsv(299, 72%, 70%)
CMYKcmyk(1.7%, 71.9%, 0%, 30.2%)
CIE-LABlab(45.10, 64.74, -41.98)
CIE-LCHlch(45.10, 77.16, 327.04°)
OKLaboklab(55.48% 0.1792 -0.1165)
OKLCHoklch(55.48% 0.214 327)
XYZxyz(26.8552, 14.6114, 43.5167)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32B2 #35B232
analogous
#6F32B2 #AF32B2 #B23275
triadic
#AF32B2 #B2AF32 #32B2AF
tetradic
#AF32B2 #B26F32 #35B232 #3275B2
square
#AF32B2 #B26F32 #35B232 #3275B2
split-complementary
#AF32B2 #75B232 #32B26F
monochromatic
#511752 #802582 #AF32B2 #CC53CF #DA82DC

Accessibility & contrast

On white

5.35
#AF32B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF32B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32B2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32B2#FFFFFF#000000##FFFFFF
##AF32B21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B6
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#B4466F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af32b2;
/* rgb */ color: rgb(175, 50, 178);
/* oklch */ color: oklch(55.5% 0.214 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb76c9',
    500: '#af32b2',
    950: '#000000',
  },
}
SCSS
$custom: #af32b2;
$custom-light: #cb76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af32b2",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 298.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.21373,
    "h": 327
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#AF32B2
secondary
#7CC57B
accent
#DF484C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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