#AB26AE#AB26AE

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

Color values

HEX#AB26AE
RGBrgb(171, 38, 174)
HSLhsl(299, 64%, 42%)
HSVhsv(299, 78%, 68%)
CMYKcmyk(1.7%, 78.2%, 0%, 31.8%)
CIE-LABlab(42.92, 66.95, -43.13)
CIE-LCHlch(42.92, 79.64, 327.21°)
OKLaboklab(53.72% 0.1854 -0.1198)
OKLCHoklch(53.72% 0.221 327.1)
XYZxyz(25.1273, 13.1020, 41.2417)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26AE #29AE26
analogous
#6726AE #AB26AE #AE266D
triadic
#AB26AE #AEAB26 #26AEAB
tetradic
#AB26AE #AE6726 #29AE26 #266DAE
square
#AB26AE #AE6726 #29AE26 #266DAE
split-complementary
#AB26AE #6DAE26 #26AE67
monochromatic
#48104A #7A1B7C #AB26AE #D13DD5 #DD6FE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB26AE#FFFFFF#000000##FFFFFF
##AB26AE1.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)
#005BB2
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#B03E6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab26ae;
/* rgb */ color: rgb(171, 38, 174);
/* oklch */ color: oklch(53.7% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#c871c7',
    500: '#ab26ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab26ae;
$custom-light: #c871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26ae",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 298.676,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.22077,
    "h": 327.1
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#AB26AE
secondary
#6CC66A
accent
#E74144
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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