#AF29A9#AF29A9

#AF29A9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.216 H 330.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF29A9
RGBrgb(175, 41, 169)
HSLhsl(303, 62%, 42%)
HSVhsv(303, 77%, 69%)
CMYKcmyk(0%, 76.6%, 3.4%, 31.4%)
CIE-LABlab(43.60, 66.13, -39.02)
CIE-LCHlch(43.60, 76.78, 329.45°)
OKLaboklab(54.25% 0.1873 -0.1078)
OKLCHoklch(54.25% 0.216 330.1)
XYZxyz(25.6335, 13.5664, 38.7969)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29A9 #29AF2F
analogous
#7229AF #AF29A9 #AF2966
triadic
#AF29A9 #A9AF29 #29A9AF
tetradic
#AF29A9 #AF7229 #29AF2F #2966AF
square
#AF29A9 #AF7229 #29AF2F #2966AF
split-complementary
#AF29A9 #66AF29 #29AF72
monochromatic
#4C1249 #7D1D79 #AF29A9 #D342CC #DE74DA

Accessibility & contrast

On white

5.66
#AF29A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF29A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29A9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29A9#FFFFFF#000000##FFFFFF
##AF29A91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAC
Deuteranopia (green-blind)
#536DA6
Tritanopia (blue-blind)
#B63C68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af29a9;
/* rgb */ color: rgb(175, 41, 169);
/* oklch */ color: oklch(54.2% 0.216 330.1);
Tailwind
colors: {
  custom: {
    50: '#cb72c3',
    500: '#af29a9',
    950: '#000000',
  },
}
SCSS
$custom: #af29a9;
$custom-light: #cb72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af29a9",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 302.687,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.21613,
    "h": 330.1
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#AF29A9
secondary
#6EC672
accent
#E54A43
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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