#AF24B0#AF24B0

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

Color values

HEX#AF24B0
RGBrgb(175, 36, 176)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 80%, 69%)
CMYKcmyk(0.6%, 79.5%, 0%, 31%)
CIE-LABlab(43.53, 68.61, -43.30)
CIE-LCHlch(43.53, 81.13, 327.74°)
OKLaboklab(54.32% 0.1911 -0.1202)
OKLCHoklch(54.32% 0.226 327.8)
XYZxyz(26.1462, 13.5123, 42.2969)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF24B0 #25B024
analogous
#6924B0 #AF24B0 #B0246B
triadic
#AF24B0 #B0AF24 #24B0AF
tetradic
#AF24B0 #B06924 #25B024 #246BB0
square
#AF24B0 #B06924 #25B024 #246BB0
split-complementary
#AF24B0 #6BB024 #24B069
monochromatic
#4A0F4A #7C1A7D #AF24B0 #D63AD7 #E06DE1

Accessibility & contrast

On white

5.67
#AF24B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF24B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF24B0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF24B0#FFFFFF#000000##FFFFFF
##AF24B01.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#B53D6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af24b0;
/* rgb */ color: rgb(175, 36, 176);
/* oklch */ color: oklch(54.3% 0.226 327.8);
Tailwind
colors: {
  custom: {
    50: '#cb71c8',
    500: '#af24b0',
    950: '#000000',
  },
}
SCSS
$custom: #af24b0;
$custom-light: #cb71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af24b0",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 299.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.22574,
    "h": 327.8
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#AF24B0
secondary
#69C868
accent
#E93F40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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