#AB25AC#AB25AC

#AB25AC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.220 H 327.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB25AC
RGBrgb(171, 37, 172)
HSLhsl(300, 65%, 41%)
HSVhsv(300, 78%, 67%)
CMYKcmyk(0.6%, 78.5%, 0%, 32.5%)
CIE-LABlab(42.71, 66.90, -42.28)
CIE-LCHlch(42.71, 79.14, 327.71°)
OKLaboklab(53.53% 0.1863 -0.1173)
OKLCHoklch(53.53% 0.22 327.8)
XYZxyz(24.9022, 12.9615, 40.2120)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB25AC #26AC25
analogous
#6825AC #AB25AC #AC2569
triadic
#AB25AC #ACAB25 #25ACAB
tetradic
#AB25AC #AC6825 #26AC25 #2569AC
square
#AB25AC #AC6825 #26AC25 #2569AC
split-complementary
#AB25AC #69AC25 #25AC68
monochromatic
#470F47 #791A7A #AB25AC #D33AD5 #DF6CDF

Accessibility & contrast

On white

5.85
#AB25AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB25AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB25AC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB25AC#FFFFFF#000000##FFFFFF
##AB25AC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#B03D69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab25ac;
/* rgb */ color: rgb(171, 37, 172);
/* oklch */ color: oklch(53.5% 0.220 327.8);
Tailwind
colors: {
  custom: {
    50: '#c870c5',
    500: '#ab25ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab25ac;
$custom-light: #c870c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab25ac",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 299.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.22016,
    "h": 327.8
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#AB25AC
secondary
#68C667
accent
#E84041
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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