#AB25AD#AB25AD

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

Color values

HEX#AB25AD
RGBrgb(171, 37, 173)
HSLhsl(299, 65%, 41%)
HSVhsv(299, 79%, 68%)
CMYKcmyk(1.2%, 78.6%, 0%, 32.2%)
CIE-LABlab(42.76, 67.06, -42.78)
CIE-LCHlch(42.76, 79.55, 327.47°)
OKLaboklab(53.59% 0.1862 -0.1188)
OKLCHoklch(53.59% 0.221 327.5)
XYZxyz(24.9986, 13.0000, 40.7197)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB25AD #27AD25
analogous
#6725AD #AB25AD #AD256B
triadic
#AB25AD #ADAB25 #25ADAB
tetradic
#AB25AD #AD6725 #27AD25 #256BAD
square
#AB25AD #AD6725 #27AD25 #256BAD
split-complementary
#AB25AD #6BAD25 #25AD67
monochromatic
#470F48 #791A7B #AB25AD #D33AD5 #DE6DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB25AD#FFFFFF#000000##FFFFFF
##AB25AD1.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)
#005AB1
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#B03D69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab25ad;
/* rgb */ color: rgb(171, 37, 173);
/* oklch */ color: oklch(53.6% 0.221 327.5);
Tailwind
colors: {
  custom: {
    50: '#c870c6',
    500: '#ab25ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab25ad;
$custom-light: #c870c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab25ad",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 299.118,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.22091,
    "h": 327.5
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#AB25AD
secondary
#69C668
accent
#E84043
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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