#AF29AA#AF29AA

#AF29AA is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.217 H 329.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF29AA
RGBrgb(175, 41, 170)
HSLhsl(302, 62%, 42%)
HSVhsv(302, 77%, 69%)
CMYKcmyk(0%, 76.6%, 2.9%, 31.4%)
CIE-LABlab(43.66, 66.28, -39.53)
CIE-LCHlch(43.66, 77.18, 329.19°)
OKLaboklab(54.31% 0.1873 -0.1093)
OKLCHoklch(54.31% 0.217 329.7)
XYZxyz(25.7277, 13.6041, 39.2932)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29AA #29AF2E
analogous
#7129AF #AF29AA #AF2967
triadic
#AF29AA #AAAF29 #29AAAF
tetradic
#AF29AA #AF7129 #29AF2E #2967AF
square
#AF29AA #AF7129 #29AF2E #2967AF
split-complementary
#AF29AA #67AF29 #29AF71
monochromatic
#4C124A #7D1D7A #AF29AA #D342CD #DE74DA

Accessibility & contrast

On white

5.64
#AF29AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF29AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29AA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29AA#FFFFFF#000000##FFFFFF
##AF29AA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#B53D68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af29aa;
/* rgb */ color: rgb(175, 41, 170);
/* oklch */ color: oklch(54.3% 0.217 329.7);
Tailwind
colors: {
  custom: {
    50: '#cb72c4',
    500: '#af29aa',
    950: '#000000',
  },
}
SCSS
$custom: #af29aa;
$custom-light: #cb72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af29aa",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 302.239,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.21686,
    "h": 329.7
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#AF29AA
secondary
#6EC671
accent
#E54943
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AF29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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