#AF24AD#AF24AD

#AF24AD is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.224 H 328.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF24AD
RGBrgb(175, 36, 173)
HSLhsl(301, 66%, 41%)
HSVhsv(301, 79%, 69%)
CMYKcmyk(0%, 79.4%, 1.1%, 31.4%)
CIE-LABlab(43.35, 68.13, -41.80)
CIE-LCHlch(43.35, 79.93, 328.47°)
OKLaboklab(54.14% 0.1912 -0.1158)
OKLCHoklch(54.14% 0.224 328.8)
XYZxyz(25.8527, 13.3948, 40.7509)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF24AD #24AF26
analogous
#6C24AF #AF24AD #AF2468
triadic
#AF24AD #ADAF24 #24ADAF
tetradic
#AF24AD #AF6C24 #24AF26 #2468AF
square
#AF24AD #AF6C24 #24AF26 #2468AF
split-complementary
#AF24AD #68AF24 #24AF6C
monochromatic
#490F49 #7C1A7B #AF24AD #D63AD4 #E16DDF

Accessibility & contrast

On white

5.71
#AF24AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF24AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF24AD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF24AD#FFFFFF#000000##FFFFFF
##AF24AD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#B53C69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af24ad;
/* rgb */ color: rgb(175, 36, 173);
/* oklch */ color: oklch(54.1% 0.224 328.8);
Tailwind
colors: {
  custom: {
    50: '#cb71c6',
    500: '#af24ad',
    950: '#000000',
  },
}
SCSS
$custom: #af24ad;
$custom-light: #cb71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af24ad",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 300.863,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.22354,
    "h": 328.8
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#AF24AD
secondary
#68C769
accent
#E9413F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF24AD

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

Preview Lab → · Contrast checker → · Palette generator →

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