#AF32C2#AF32C2

#AF32C2 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.227 H 322.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF32C2
RGBrgb(175, 50, 194)
HSLhsl(292, 59%, 48%)
HSVhsv(292, 74%, 76%)
CMYKcmyk(9.8%, 74.2%, 0%, 23.9%)
CIE-LABlab(46.03, 67.51, -49.86)
CIE-LCHlch(46.03, 83.92, 323.55°)
OKLaboklab(56.44% 0.1785 -0.1394)
OKLCHoklch(56.44% 0.227 322)
XYZxyz(28.5564, 15.2918, 52.4760)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32C2 #45C232
analogous
#6732C2 #AF32C2 #C2328D
triadic
#AF32C2 #C2AF32 #32C2AF
tetradic
#AF32C2 #C26732 #45C232 #328DC2
square
#AF32C2 #C26732 #45C232 #328DC2
split-complementary
#AF32C2 #8DC232 #32C267
monochromatic
#571961 #832591 #AF32C2 #C55CD5 #D68DE2

Accessibility & contrast

On white

5.17
#AF32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32C2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32C2#FFFFFF#000000##FFFFFF
##AF32C21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4672BF
Tritanopia (blue-blind)
#B14E78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af32c2;
/* rgb */ color: rgb(175, 50, 194);
/* oklch */ color: oklch(56.4% 0.227 322.0);
Tailwind
colors: {
  custom: {
    50: '#cb77d5',
    500: '#af32c2',
    950: '#000000',
  },
}
SCSS
$custom: #af32c2;
$custom-light: #cb77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#af32c2",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 292.083,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.22655,
    "h": 322
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#AF32C2
secondary
#8DCC84
accent
#E2465A
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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