#AF29AB#AF29AB

#AF29AB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.218 H 329.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF29AB
RGBrgb(175, 41, 171)
HSLhsl(302, 62%, 42%)
HSVhsv(302, 77%, 69%)
CMYKcmyk(0%, 76.6%, 2.3%, 31.4%)
CIE-LABlab(43.72, 66.44, -40.04)
CIE-LCHlch(43.72, 77.57, 328.93°)
OKLaboklab(54.36% 0.1873 -0.1108)
OKLCHoklch(54.36% 0.218 329.4)
XYZxyz(25.8226, 13.6421, 39.7933)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29AB #29AF2D
analogous
#7029AF #AF29AB #AF2968
triadic
#AF29AB #ABAF29 #29ABAF
tetradic
#AF29AB #AF7029 #29AF2D #2968AF
square
#AF29AB #AF7029 #29AF2D #2968AF
split-complementary
#AF29AB #68AF29 #29AF70
monochromatic
#4C124A #7D1D7B #AF29AB #D342CF #DE74DB

Accessibility & contrast

On white

5.63
#AF29AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF29AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29AB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29AB#FFFFFF#000000##FFFFFF
##AF29AB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#526DA8
Tritanopia (blue-blind)
#B53D69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af29ab;
/* rgb */ color: rgb(175, 41, 171);
/* oklch */ color: oklch(54.4% 0.218 329.4);
Tailwind
colors: {
  custom: {
    50: '#cb72c4',
    500: '#af29ab',
    950: '#000000',
  },
}
SCSS
$custom: #af29ab;
$custom-light: #cb72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af29ab",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 301.791,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.21761,
    "h": 329.4
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#AF29AB
secondary
#6EC671
accent
#E54843
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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