#AF329E#AF329E

#AF329E is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.199 H 334.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF329E
RGBrgb(175, 50, 158)
HSLhsl(308, 56%, 44%)
HSVhsv(308, 71%, 69%)
CMYKcmyk(0%, 71.4%, 9.7%, 31.4%)
CIE-LABlab(44.04, 61.53, -31.77)
CIE-LCHlch(44.04, 69.25, 332.69°)
OKLaboklab(54.38% 0.1785 -0.0869)
OKLCHoklch(54.38% 0.199 334)
XYZxyz(24.9916, 13.8659, 33.7013)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF329E #32AF43
analogous
#8232AF #AF329E #AF3260
triadic
#AF329E #9EAF32 #329EAF
tetradic
#AF329E #AF8232 #32AF43 #3260AF
square
#AF329E #AF8232 #32AF43 #3260AF
split-complementary
#AF329E #60AF32 #32AF82
monochromatic
#501748 #7F2473 #AF329E #CD51BC #DB81CF

Accessibility & contrast

On white

5.57
#AF329E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF329E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF329E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF329E#FFFFFF#000000##FFFFFF
##AF329E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#B73D64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af329e;
/* rgb */ color: rgb(175, 50, 158);
/* oklch */ color: oklch(54.4% 0.199 334.0);
Tailwind
colors: {
  custom: {
    50: '#ca76bb',
    500: '#af329e',
    950: '#000000',
  },
}
SCSS
$custom: #af329e;
$custom-light: #ca76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af329e",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 308.16,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.19852,
    "h": 334
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#AF329E
secondary
#79C483
accent
#DF5D49
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF329E

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

Preview Lab → · Contrast checker → · Palette generator →

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