#AF29A4#AF29A4

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

Color values

HEX#AF29A4
RGBrgb(175, 41, 164)
HSLhsl(305, 62%, 42%)
HSVhsv(305, 77%, 69%)
CMYKcmyk(0%, 76.6%, 6.3%, 31.4%)
CIE-LABlab(43.33, 65.35, -36.47)
CIE-LCHlch(43.33, 74.84, 330.83°)
OKLaboklab(53.97% 0.1873 -0.1004)
OKLCHoklch(53.97% 0.212 331.8)
XYZxyz(25.1730, 13.3823, 36.3720)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29A4 #29AF34
analogous
#7729AF #AF29A4 #AF2961
triadic
#AF29A4 #A4AF29 #29A4AF
tetradic
#AF29A4 #AF7729 #29AF34 #2961AF
square
#AF29A4 #AF7729 #29AF34 #2961AF
split-complementary
#AF29A4 #61AF29 #29AF77
monochromatic
#4C1247 #7D1D76 #AF29A4 #D342C7 #DE74D6

Accessibility & contrast

On white

5.71
#AF29A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF29A4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29A4#FFFFFF#000000##FFFFFF
##AF29A41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA7
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#B63A65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af29a4;
/* rgb */ color: rgb(175, 41, 164);
/* oklch */ color: oklch(54.0% 0.212 331.8);
Tailwind
colors: {
  custom: {
    50: '#cb72bf',
    500: '#af29a4',
    950: '#000000',
  },
}
SCSS
$custom: #af29a4;
$custom-light: #cb72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af29a4",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 304.925,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.21248,
    "h": 331.8
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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