#AF29AD#AF29AD

#AF29AD is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.219 H 328.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF29AD
RGBrgb(175, 41, 173)
HSLhsl(301, 62%, 42%)
HSVhsv(301, 77%, 69%)
CMYKcmyk(0%, 76.6%, 1.1%, 31.4%)
CIE-LABlab(43.83, 66.76, -41.04)
CIE-LCHlch(43.83, 78.37, 328.42°)
OKLaboklab(54.48% 0.1873 -0.1137)
OKLCHoklch(54.48% 0.219 328.7)
XYZxyz(26.0147, 13.7189, 40.8049)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29AD #29AF2B
analogous
#6E29AF #AF29AD #AF296A
triadic
#AF29AD #ADAF29 #29ADAF
tetradic
#AF29AD #AF6E29 #29AF2B #296AAF
square
#AF29AD #AF6E29 #29AF2B #296AAF
split-complementary
#AF29AD #6AAF29 #29AF6E
monochromatic
#4C124B #7D1D7C #AF29AD #D342D1 #DE74DD

Accessibility & contrast

On white

5.61
#AF29AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF29AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29AD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29AD#FFFFFF#000000##FFFFFF
##AF29AD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CB0
Deuteranopia (green-blind)
#516EAA
Tritanopia (blue-blind)
#B53E6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af29ad;
/* rgb */ color: rgb(175, 41, 173);
/* oklch */ color: oklch(54.5% 0.219 328.7);
Tailwind
colors: {
  custom: {
    50: '#cb72c6',
    500: '#af29ad',
    950: '#000000',
  },
}
SCSS
$custom: #af29ad;
$custom-light: #cb72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af29ad",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 300.896,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.21908,
    "h": 328.7
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#AF29AD
secondary
#6EC66F
accent
#E54543
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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