#AF29A1#AF29A1

#AF29A1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.210 H 332.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF29A1
RGBrgb(175, 41, 161)
HSLhsl(306, 62%, 42%)
HSVhsv(306, 77%, 69%)
CMYKcmyk(0%, 76.6%, 8%, 31.4%)
CIE-LABlab(43.17, 64.89, -34.93)
CIE-LCHlch(43.17, 73.69, 331.71°)
OKLaboklab(53.8% 0.1872 -0.096)
OKLCHoklch(53.8% 0.21 332.9)
XYZxyz(24.9053, 13.2752, 34.9620)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29A1 #29AF37
analogous
#7A29AF #AF29A1 #AF295E
triadic
#AF29A1 #A1AF29 #29A1AF
tetradic
#AF29A1 #AF7A29 #29AF37 #295EAF
square
#AF29A1 #AF7A29 #29AF37 #295EAF
split-complementary
#AF29A1 #5EAF29 #29AF7A
monochromatic
#4C1246 #7D1D73 #AF29A1 #D342C4 #DE74D3

Accessibility & contrast

On white

5.75
#AF29A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF29A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29A1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29A1#FFFFFF#000000##FFFFFF
##AF29A11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#B73863
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af29a1;
/* rgb */ color: rgb(175, 41, 161);
/* oklch */ color: oklch(53.8% 0.210 332.9);
Tailwind
colors: {
  custom: {
    50: '#cb72bd',
    500: '#af29a1',
    950: '#000000',
  },
}
SCSS
$custom: #af29a1;
$custom-light: #cb72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af29a1",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 306.269,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.21032,
    "h": 332.9
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#AF29A1
secondary
#6EC677
accent
#E55443
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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