#AB24BD#AB24BD

#AB24BD is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.234 H 322.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB24BD
RGBrgb(171, 36, 189)
HSLhsl(293, 68%, 44%)
HSVhsv(293, 81%, 74%)
CMYKcmyk(9.5%, 81%, 0%, 25.9%)
CIE-LABlab(43.65, 69.99, -50.80)
CIE-LCHlch(43.65, 86.48, 324.03°)
OKLaboklab(54.53% 0.1857 -0.1422)
OKLCHoklch(54.53% 0.234 322.5)
XYZxyz(26.6098, 13.5954, 49.3568)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB24BD #36BD24
analogous
#5F24BD #AB24BD #BD2483
triadic
#AB24BD #BDAB24 #24BDAB
tetradic
#AB24BD #BD5F24 #36BD24 #2483BD
square
#AB24BD #BD5F24 #36BD24 #2483BD
split-complementary
#AB24BD #83BD24 #24BD5F
monochromatic
#4E1056 #7C1A8A #AB24BD #C943DB #D876E5

Accessibility & contrast

On white

5.65
#AB24BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB24BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB24BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB24BD#FFFFFF#000000##FFFFFF
##AB24BD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#AD4572
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab24bd;
/* rgb */ color: rgb(171, 36, 189);
/* oklch */ color: oklch(54.5% 0.234 322.5);
Tailwind
colors: {
  custom: {
    50: '#c871d2',
    500: '#ab24bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab24bd;
$custom-light: #c871d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab24bd",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 292.941,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.23387,
    "h": 322.5
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#AB24BD
secondary
#7BCC70
accent
#EB3D51
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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