#AB25C6#AB25C6

#AB25C6 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.2% C 0.240 H 320.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AB25C6
RGBrgb(171, 37, 198)
HSLhsl(290, 69%, 46%)
HSVhsv(290, 81%, 78%)
CMYKcmyk(13.6%, 81.3%, 0%, 22.4%)
CIE-LABlab(44.32, 71.30, -54.97)
CIE-LCHlch(44.32, 90.03, 322.37°)
OKLaboklab(55.19% 0.1838 -0.1544)
OKLCHoklch(55.19% 0.24 320)
XYZxyz(27.6479, 14.0597, 54.6726)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB25C6 #40C625
analogous
#5A25C6 #AB25C6 #C62590
triadic
#AB25C6 #C6AB25 #25C6AB
tetradic
#AB25C6 #C65A25 #40C625 #2590C6
square
#AB25C6 #C65A25 #40C625 #2590C6
split-complementary
#AB25C6 #90C625 #25C65A
monochromatic
#52125F #7E1B92 #AB25C6 #C54BDD #D57EE7

Accessibility & contrast

On white

5.51
#AB25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB25C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB25C6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB25C6#FFFFFF#000000##FFFFFF
##AB25C61.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#366DC3
Tritanopia (blue-blind)
#AB4A78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab25c6;
/* rgb */ color: rgb(171, 37, 198);
/* oklch */ color: oklch(55.2% 0.240 320.0);
Tailwind
colors: {
  custom: {
    50: '#c972d8',
    500: '#ab25c6',
    950: '#000000',
  },
}
SCSS
$custom: #ab25c6;
$custom-light: #c972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab25c6",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 289.938,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5519,
    "c": 0.24005,
    "h": 320
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#AB25C6
secondary
#86CF77
accent
#EB3C5A
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140915
muted
#827B83

Preview Lab

Preview with #AB25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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