#AB25AE#AB25AE

#AB25AE is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.222 H 327.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB25AE
RGBrgb(171, 37, 174)
HSLhsl(299, 65%, 41%)
HSVhsv(299, 79%, 68%)
CMYKcmyk(1.7%, 78.7%, 0%, 31.8%)
CIE-LABlab(42.82, 67.23, -43.28)
CIE-LCHlch(42.82, 79.95, 327.23°)
OKLaboklab(53.65% 0.1862 -0.1203)
OKLCHoklch(53.65% 0.222 327.1)
XYZxyz(25.0957, 13.0389, 41.2312)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB25AE #28AE25
analogous
#6725AE #AB25AE #AE256D
triadic
#AB25AE #AEAB25 #25AEAB
tetradic
#AB25AE #AE6725 #28AE25 #256DAE
square
#AB25AE #AE6725 #28AE25 #256DAE
split-complementary
#AB25AE #6DAE25 #25AE67
monochromatic
#481049 #791A7C #AB25AE #D23BD5 #DE6DE0

Accessibility & contrast

On white

5.82
#AB25AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB25AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB25AE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB25AE#FFFFFF#000000##FFFFFF
##AB25AE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab25ae;
/* rgb */ color: rgb(171, 37, 174);
/* oklch */ color: oklch(53.7% 0.222 327.1);
Tailwind
colors: {
  custom: {
    50: '#c871c7',
    500: '#ab25ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab25ae;
$custom-light: #c871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab25ae",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 298.686,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53654,
    "c": 0.22165,
    "h": 327.1
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#AB25AE
secondary
#6AC668
accent
#E84044
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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