#AF29A5#AF29A5

#AF29A5 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.213 H 331.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF29A5
RGBrgb(175, 41, 165)
HSLhsl(304, 62%, 42%)
HSVhsv(304, 77%, 69%)
CMYKcmyk(0%, 76.6%, 5.7%, 31.4%)
CIE-LABlab(43.39, 65.50, -36.98)
CIE-LCHlch(43.39, 75.22, 330.55°)
OKLaboklab(54.02% 0.1873 -0.1019)
OKLCHoklch(54.02% 0.213 331.4)
XYZxyz(25.2637, 13.4185, 36.8495)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29A5 #29AF33
analogous
#7629AF #AF29A5 #AF2962
triadic
#AF29A5 #A5AF29 #29A5AF
tetradic
#AF29A5 #AF7629 #29AF33 #2962AF
square
#AF29A5 #AF7629 #29AF33 #2962AF
split-complementary
#AF29A5 #62AF29 #29AF76
monochromatic
#4C1247 #7D1D76 #AF29A5 #D342C8 #DE74D6

Accessibility & contrast

On white

5.70
#AF29A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF29A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29A5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29A5#FFFFFF#000000##FFFFFF
##AF29A51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#B63A66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af29a5;
/* rgb */ color: rgb(175, 41, 165);
/* oklch */ color: oklch(54.0% 0.213 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb72c0',
    500: '#af29a5',
    950: '#000000',
  },
}
SCSS
$custom: #af29a5;
$custom-light: #cb72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#af29a5",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 304.478,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.2132,
    "h": 331.4
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#AF29A5
secondary
#6EC675
accent
#E54F43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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