#AB24AE#AB24AE

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

Color values

HEX#AB24AE
RGBrgb(171, 36, 174)
HSLhsl(299, 66%, 41%)
HSVhsv(299, 79%, 68%)
CMYKcmyk(1.7%, 79.3%, 0%, 31.8%)
CIE-LABlab(42.73, 67.49, -43.42)
CIE-LCHlch(42.73, 80.26, 327.24°)
OKLaboklab(53.59% 0.1869 -0.1207)
OKLCHoklch(53.59% 0.223 327.2)
XYZxyz(25.0651, 12.9775, 41.2209)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB24AE #27AE24
analogous
#6624AE #AB24AE #AE246C
triadic
#AB24AE #AEAB24 #24AEAB
tetradic
#AB24AE #AE6624 #27AE24 #246CAE
square
#AB24AE #AE6624 #27AE24 #246CAE
split-complementary
#AB24AE #6CAE24 #24AE66
monochromatic
#470F49 #791A7B #AB24AE #D339D6 #DE6CE1

Accessibility & contrast

On white

5.84
#AB24AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB24AE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB24AE#FFFFFF#000000##FFFFFF
##AB24AE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#B03D6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab24ae;
/* rgb */ color: rgb(171, 36, 174);
/* oklch */ color: oklch(53.6% 0.223 327.2);
Tailwind
colors: {
  custom: {
    50: '#c870c7',
    500: '#ab24ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab24ae;
$custom-light: #c870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab24ae",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 298.696,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.22251,
    "h": 327.2
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#AB24AE
secondary
#69C767
accent
#E93F43
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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