#AB24AF#AB24AF

#AB24AF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 326.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB24AF
RGBrgb(171, 36, 175)
HSLhsl(298, 66%, 41%)
HSVhsv(298, 79%, 69%)
CMYKcmyk(2.3%, 79.4%, 0%, 31.4%)
CIE-LABlab(42.79, 67.66, -43.92)
CIE-LCHlch(42.79, 80.66, 327.01°)
OKLaboklab(53.65% 0.1869 -0.1221)
OKLCHoklch(53.65% 0.223 326.8)
XYZxyz(25.1629, 13.0166, 41.7363)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB24AF #28AF24
analogous
#6624AF #AB24AF #AF246E
triadic
#AB24AF #AFAB24 #24AFAB
tetradic
#AB24AF #AF6624 #28AF24 #246EAF
square
#AB24AF #AF6624 #28AF24 #246EAF
split-complementary
#AB24AF #6EAF24 #24AF66
monochromatic
#480F49 #791A7C #AB24AF #D23AD6 #DE6DE1

Accessibility & contrast

On white

5.83
#AB24AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB24AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB24AF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB24AF#FFFFFF#000000##FFFFFF
##AB24AF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#B03E6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab24af;
/* rgb */ color: rgb(171, 36, 175);
/* oklch */ color: oklch(53.6% 0.223 326.8);
Tailwind
colors: {
  custom: {
    50: '#c870c7',
    500: '#ab24af',
    950: '#000000',
  },
}
SCSS
$custom: #ab24af;
$custom-light: #c870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab24af",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 298.273,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.22326,
    "h": 326.8
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#AB24AF
secondary
#6AC768
accent
#E93F44
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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