#AF24AA#AF24AA

#AF24AA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.221 H 329.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF24AA
RGBrgb(175, 36, 170)
HSLhsl(302, 66%, 41%)
HSVhsv(302, 79%, 69%)
CMYKcmyk(0%, 79.4%, 2.9%, 31.4%)
CIE-LABlab(43.18, 67.66, -40.29)
CIE-LCHlch(43.18, 78.75, 329.23°)
OKLaboklab(53.97% 0.1913 -0.1115)
OKLCHoklch(53.97% 0.221 329.8)
XYZxyz(25.5656, 13.2800, 39.2392)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF24AA #24AF29
analogous
#6F24AF #AF24AA #AF2465
triadic
#AF24AA #AAAF24 #24AAAF
tetradic
#AF24AA #AF6F24 #24AF29 #2465AF
square
#AF24AA #AF6F24 #24AF29 #2465AF
split-complementary
#AF24AA #65AF24 #24AF6F
monochromatic
#490F47 #7C1A79 #AF24AA #D63AD1 #E16DDD

Accessibility & contrast

On white

5.74
#AF24AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF24AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF24AA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF24AA#FFFFFF#000000##FFFFFF
##AF24AA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#B63A67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af24aa;
/* rgb */ color: rgb(175, 36, 170);
/* oklch */ color: oklch(54.0% 0.221 329.8);
Tailwind
colors: {
  custom: {
    50: '#cb71c4',
    500: '#af24aa',
    950: '#000000',
  },
}
SCSS
$custom: #af24aa;
$custom-light: #cb71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af24aa",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 302.158,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.22137,
    "h": 329.8
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#AF24AA
secondary
#68C76B
accent
#E9453F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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