#AF24AF#AF24AF

#AF24AF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.225 H 328.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF24AF
RGBrgb(175, 36, 175)
HSLhsl(300, 66%, 41%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0%, 79.4%, 0%, 31.4%)
CIE-LABlab(43.47, 68.45, -42.80)
CIE-LCHlch(43.47, 80.73, 327.98°)
OKLaboklab(54.26% 0.1911 -0.1188)
OKLCHoklch(54.26% 0.225 328.1)
XYZxyz(26.0476, 13.4728, 41.7777)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF24AF #24AF24
analogous
#6A24AF #AF24AF #AF246A
triadic
#AF24AF #AFAF24 #24AFAF
tetradic
#AF24AF #AF6A24 #24AF24 #246AAF
square
#AF24AF #AF6A24 #24AF24 #246AAF
split-complementary
#AF24AF #6AAF24 #24AF6A
monochromatic
#490F49 #7C1A7C #AF24AF #D63AD6 #E16DE1

Accessibility & contrast

On white

5.68
#AF24AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF24AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF24AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF24AF#FFFFFF#000000##FFFFFF
##AF24AF1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#B53D6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af24af;
/* rgb */ color: rgb(175, 36, 175);
/* oklch */ color: oklch(54.3% 0.225 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb71c7',
    500: '#af24af',
    950: '#000000',
  },
}
SCSS
$custom: #af24af;
$custom-light: #cb71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af24af",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 300,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.225,
    "h": 328.1
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#AF24AF
secondary
#68C768
accent
#E93F3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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