#AF29B3#AF29B3

#AF29B3 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.224 H 326.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF29B3
RGBrgb(175, 41, 179)
HSLhsl(298, 63%, 43%)
HSVhsv(298, 77%, 70%)
CMYKcmyk(2.2%, 77.1%, 0%, 29.8%)
CIE-LABlab(44.17, 67.73, -44.04)
CIE-LCHlch(44.17, 80.79, 326.96°)
OKLaboklab(54.84% 0.1871 -0.1224)
OKLCHoklch(54.84% 0.224 326.8)
XYZxyz(26.6084, 13.9564, 43.9315)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF29B3 #2DB329
analogous
#6A29B3 #AF29B3 #B32972
triadic
#AF29B3 #B3AF29 #29B3AF
tetradic
#AF29B3 #B36A29 #2DB329 #2972B3
square
#AF29B3 #B36A29 #2DB329 #2972B3
split-complementary
#AF29B3 #72B329 #29B36A
monochromatic
#4E124F #7E1E81 #AF29B3 #D045D4 #DD77E0

Accessibility & contrast

On white

5.54
#AF29B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF29B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF29B3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF29B3#FFFFFF#000000##FFFFFF
##AF29B31.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#B4416D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af29b3;
/* rgb */ color: rgb(175, 41, 179);
/* oklch */ color: oklch(54.8% 0.224 326.8);
Tailwind
colors: {
  custom: {
    50: '#cb73ca',
    500: '#af29b3',
    950: '#000000',
  },
}
SCSS
$custom: #af29b3;
$custom-light: #cb73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af29b3",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 298.261,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.22359,
    "h": 326.8
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#AF29B3
secondary
#73C770
accent
#E64247
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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