#AB25AF#AB25AF

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

Color values

HEX#AB25AF
RGBrgb(171, 37, 175)
HSLhsl(298, 65%, 42%)
HSVhsv(298, 79%, 69%)
CMYKcmyk(2.3%, 78.9%, 0%, 31.4%)
CIE-LABlab(42.88, 67.39, -43.78)
CIE-LCHlch(42.88, 80.36, 326.99°)
OKLaboklab(53.72% 0.1861 -0.1217)
OKLCHoklch(53.72% 0.222 326.8)
XYZxyz(25.1936, 13.0780, 41.7465)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB25AF #29AF25
analogous
#6625AF #AB25AF #AF256E
triadic
#AB25AF #AFAB25 #25AFAB
tetradic
#AB25AF #AF6625 #29AF25 #256EAF
square
#AB25AF #AF6625 #29AF25 #256EAF
split-complementary
#AB25AF #6EAF25 #25AF66
monochromatic
#48104A #7A1A7C #AB25AF #D13CD6 #DD6EE0

Accessibility & contrast

On white

5.81
#AB25AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB25AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB25AF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB25AF#FFFFFF#000000##FFFFFF
##AB25AF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab25af;
/* rgb */ color: rgb(171, 37, 175);
/* oklch */ color: oklch(53.7% 0.222 326.8);
Tailwind
colors: {
  custom: {
    50: '#c871c7',
    500: '#ab25af',
    950: '#000000',
  },
}
SCSS
$custom: #ab25af;
$custom-light: #c871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab25af",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 298.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.2224,
    "h": 326.8
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#AB25AF
secondary
#6CC769
accent
#E84045
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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