#AB25B0#AB25B0

#AB25B0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.223 H 326.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AB25B0
RGBrgb(171, 37, 176)
HSLhsl(298, 65%, 42%)
HSVhsv(298, 79%, 69%)
CMYKcmyk(2.8%, 79%, 0%, 31%)
CIE-LABlab(42.94, 67.55, -44.27)
CIE-LCHlch(42.94, 80.77, 326.76°)
OKLaboklab(53.78% 0.1861 -0.1232)
OKLCHoklch(53.78% 0.223 326.5)
XYZxyz(25.2922, 13.1174, 42.2657)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB25B0 #2AB025
analogous
#6625B0 #AB25B0 #B02570
triadic
#AB25B0 #B0AB25 #25B0AB
tetradic
#AB25B0 #B06625 #2AB025 #2570B0
square
#AB25B0 #B06625 #2AB025 #2570B0
split-complementary
#AB25B0 #70B025 #25B066
monochromatic
#49104B #7A1A7D #AB25B0 #D13CD6 #DD6FE1

Accessibility & contrast

On white

5.80
#AB25B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB25B0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB25B0#FFFFFF#000000##FFFFFF
##AB25B01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#B03F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab25b0;
/* rgb */ color: rgb(171, 37, 176);
/* oklch */ color: oklch(53.8% 0.223 326.5);
Tailwind
colors: {
  custom: {
    50: '#c871c8',
    500: '#ab25b0',
    950: '#000000',
  },
}
SCSS
$custom: #ab25b0;
$custom-light: #c871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab25b0",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 297.842,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.22315,
    "h": 326.5
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#AB25B0
secondary
#6DC76A
accent
#E84046
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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