#AF32AF#AF32AF

#AF32AF is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.211 H 328.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF32AF
RGBrgb(175, 50, 175)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 71%, 69%)
CMYKcmyk(0%, 71.4%, 0%, 31.4%)
CIE-LABlab(44.93, 64.25, -40.47)
CIE-LCHlch(44.93, 75.93, 327.79°)
OKLaboklab(55.31% 0.1792 -0.1121)
OKLCHoklch(55.31% 0.211 328)
XYZxyz(26.5573, 14.4922, 41.9476)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF32AF #32AF32
analogous
#7132AF #AF32AF #AF3271
triadic
#AF32AF #AFAF32 #32AFAF
tetradic
#AF32AF #AF7132 #32AF32 #3271AF
square
#AF32AF #AF7132 #32AF32 #3271AF
split-complementary
#AF32AF #71AF32 #32AF71
monochromatic
#501750 #7F247F #AF32AF #CD51CD #DB81DB

Accessibility & contrast

On white

5.39
#AF32AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF32AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF32AF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF32AF#FFFFFF#000000##FFFFFF
##AF32AF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#B4456D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af32af;
/* rgb */ color: rgb(175, 50, 175);
/* oklch */ color: oklch(55.3% 0.211 328.0);
Tailwind
colors: {
  custom: {
    50: '#cb76c7',
    500: '#af32af',
    950: '#000000',
  },
}
SCSS
$custom: #af32af;
$custom-light: #cb76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af32af",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.21138,
    "h": 328
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#AF32AF
secondary
#79C479
accent
#DF4949
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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