#AF29AE#AF29AE

#AF29AE is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.220 H 328.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF29AE
RGBrgb(175, 41, 174)
HSLhsl(300, 62%, 42%)
HSVhsv(300, 77%, 69%)
CMYKcmyk(0%, 76.6%, 0.6%, 31.4%)
CIE-LABlab(43.88, 66.92, -41.55)
CIE-LCHlch(43.88, 78.77, 328.17°)
OKLaboklab(54.54% 0.1873 -0.1151)
OKLCHoklch(54.54% 0.22 328.4)
XYZxyz(26.1118, 13.7578, 41.3164)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29AE #29AF2A
analogous
#6D29AF #AF29AE #AF296B
triadic
#AF29AE #AEAF29 #29AEAF
tetradic
#AF29AE #AF6D29 #29AF2A #296BAF
square
#AF29AE #AF6D29 #29AF2A #296BAF
split-complementary
#AF29AE #6BAF29 #29AF6D
monochromatic
#4C124B #7D1D7D #AF29AE #D342D2 #DE74DE

Accessibility & contrast

On white

5.60
#AF29AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF29AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29AE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29AE#FFFFFF#000000##FFFFFF
##AF29AE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065DB2
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#B53F6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af29ae;
/* rgb */ color: rgb(175, 41, 174);
/* oklch */ color: oklch(54.5% 0.220 328.4);
Tailwind
colors: {
  custom: {
    50: '#cb73c7',
    500: '#af29ae',
    950: '#000000',
  },
}
SCSS
$custom: #af29ae;
$custom-light: #cb73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af29ae",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 300.448,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.21983,
    "h": 328.4
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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