#AF29A0#AF29A0

#AF29A0 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.210 H 333.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF29A0
RGBrgb(175, 41, 160)
HSLhsl(307, 62%, 42%)
HSVhsv(307, 77%, 69%)
CMYKcmyk(0%, 76.6%, 8.6%, 31.4%)
CIE-LABlab(43.12, 64.74, -34.41)
CIE-LCHlch(43.12, 73.32, 332.01°)
OKLaboklab(53.75% 0.1871 -0.0945)
OKLCHoklch(53.75% 0.21 333.2)
XYZxyz(24.8175, 13.2400, 34.4994)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29A0 #29AF38
analogous
#7B29AF #AF29A0 #AF295D
triadic
#AF29A0 #A0AF29 #29A0AF
tetradic
#AF29A0 #AF7B29 #29AF38 #295DAF
square
#AF29A0 #AF7B29 #29AF38 #295DAF
split-complementary
#AF29A0 #5DAF29 #29AF7B
monochromatic
#4C1245 #7D1D73 #AF29A0 #D342C3 #DE74D3

Accessibility & contrast

On white

5.76
#AF29A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF29A0
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29A0#FFFFFF#000000##FFFFFF
##AF29A01.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA3
Deuteranopia (green-blind)
#576D9D
Tritanopia (blue-blind)
#B73863
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af29a0;
/* rgb */ color: rgb(175, 41, 160);
/* oklch */ color: oklch(53.7% 0.210 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb72bc',
    500: '#af29a0',
    950: '#000000',
  },
}
SCSS
$custom: #af29a0;
$custom-light: #cb72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af29a0",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 160
  },
  "hsl": {
    "h": 306.716,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.20961,
    "h": 333.2
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#AF29A0
secondary
#6EC678
accent
#E55543
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF29A0

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

Preview Lab → · Contrast checker → · Palette generator →

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