#AF29AF#AF29AF

#AF29AF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.221 H 328.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF29AF
RGBrgb(175, 41, 175)
HSLhsl(300, 62%, 42%)
HSVhsv(300, 77%, 69%)
CMYKcmyk(0%, 76.6%, 0%, 31.4%)
CIE-LABlab(43.94, 67.08, -42.05)
CIE-LCHlch(43.94, 79.17, 327.92°)
OKLaboklab(54.6% 0.1872 -0.1166)
OKLCHoklch(54.6% 0.221 328.1)
XYZxyz(26.2097, 13.7969, 41.8318)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29AF #29AF29
analogous
#6C29AF #AF29AF #AF296C
triadic
#AF29AF #AFAF29 #29AFAF
tetradic
#AF29AF #AF6C29 #29AF29 #296CAF
square
#AF29AF #AF6C29 #29AF29 #296CAF
split-complementary
#AF29AF #6CAF29 #29AF6C
monochromatic
#4C124C #7D1D7D #AF29AF #D342D3 #DE74DE

Accessibility & contrast

On white

5.59
#AF29AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF29AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29AF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29AF#FFFFFF#000000##FFFFFF
##AF29AF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB3
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#B53F6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af29af;
/* rgb */ color: rgb(175, 41, 175);
/* oklch */ color: oklch(54.6% 0.221 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb73c7',
    500: '#af29af',
    950: '#000000',
  },
}
SCSS
$custom: #af29af;
$custom-light: #cb73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af29af",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.22058,
    "h": 328.1
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#AF29AF
secondary
#6EC66E
accent
#E54343
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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