#AF29B6#AF29B6

#AF29B6 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.226 H 325.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF29B6
RGBrgb(175, 41, 182)
HSLhsl(297, 63%, 44%)
HSVhsv(297, 77%, 71%)
CMYKcmyk(3.8%, 77.5%, 0%, 28.6%)
CIE-LABlab(44.35, 68.23, -45.53)
CIE-LCHlch(44.35, 82.02, 326.28°)
OKLaboklab(55.02% 0.187 -0.1267)
OKLCHoklch(55.02% 0.226 325.9)
XYZxyz(26.9151, 14.0791, 45.5468)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29B6 #30B629
analogous
#6829B6 #AF29B6 #B62976
triadic
#AF29B6 #B6AF29 #29B6AF
tetradic
#AF29B6 #B66829 #30B629 #2976B6
square
#AF29B6 #B66829 #30B629 #2976B6
split-complementary
#AF29B6 #76B629 #29B668
monochromatic
#4F1252 #7F1E84 #AF29B6 #CE47D5 #DC79E1

Accessibility & contrast

On white

5.50
#AF29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29B6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29B6#FFFFFF#000000##FFFFFF
##AF29B61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#4B6EB3
Tritanopia (blue-blind)
#B3436F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af29b6;
/* rgb */ color: rgb(175, 41, 182);
/* oklch */ color: oklch(55.0% 0.226 325.9);
Tailwind
colors: {
  custom: {
    50: '#cb73cc',
    500: '#af29b6',
    950: '#000000',
  },
}
SCSS
$custom: #af29b6;
$custom-light: #cb73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af29b6",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 297.021,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.22587,
    "h": 325.9
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#AF29B6
secondary
#76C972
accent
#E6424A
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140913
muted
#837B82

Preview Lab

Preview with #AF29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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