#AB26C7#AB26C7

#AB26C7 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.3% C 0.240 H 319.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB26C7
RGBrgb(171, 38, 199)
HSLhsl(290, 68%, 46%)
HSVhsv(290, 81%, 78%)
CMYKcmyk(14.1%, 80.9%, 0%, 22%)
CIE-LABlab(44.47, 71.21, -55.30)
CIE-LCHlch(44.47, 90.16, 322.17°)
OKLaboklab(55.32% 0.1829 -0.1554)
OKLCHoklch(55.32% 0.24 319.6)
XYZxyz(27.7952, 14.1691, 55.2926)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26C7 #42C726
analogous
#5B26C7 #AB26C7 #C72693
triadic
#AB26C7 #C7AB26 #26C7AB
tetradic
#AB26C7 #C75B26 #42C726 #2693C7
square
#AB26C7 #C75B26 #42C726 #2693C7
split-complementary
#AB26C7 #93C726 #26C75B
monochromatic
#531260 #7F1C94 #AB26C7 #C44DDD #D581E7

Accessibility & contrast

On white

5.48
#AB26C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB26C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26C7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26C7#FFFFFF#000000##FFFFFF
##AB26C71.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#356DC4
Tritanopia (blue-blind)
#AB4B78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab26c7;
/* rgb */ color: rgb(171, 38, 199);
/* oklch */ color: oklch(55.3% 0.240 319.6);
Tailwind
colors: {
  custom: {
    50: '#c972d9',
    500: '#ab26c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab26c7;
$custom-light: #c972d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26c7",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 289.565,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.24004,
    "h": 319.6
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#AB26C7
secondary
#88CF79
accent
#EB3D5B
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140915
muted
#827B83

Preview Lab

Preview with #AB26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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