#AB26AC#AB26AC

#AB26AC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.219 H 327.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB26AC
RGBrgb(171, 38, 172)
HSLhsl(300, 64%, 41%)
HSVhsv(300, 78%, 67%)
CMYKcmyk(0.6%, 77.9%, 0%, 32.5%)
CIE-LABlab(42.80, 66.63, -42.13)
CIE-LCHlch(42.80, 78.83, 327.70°)
OKLaboklab(53.6% 0.1855 -0.1169)
OKLCHoklch(53.6% 0.219 327.8)
XYZxyz(24.9338, 13.0246, 40.2225)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26AC #27AC26
analogous
#6826AC #AB26AC #AC266A
triadic
#AB26AC #ACAB26 #26ACAB
tetradic
#AB26AC #AC6826 #27AC26 #266AAC
square
#AB26AC #AC6826 #27AC26 #266AAC
split-complementary
#AB26AC #6AAC26 #26AC68
monochromatic
#471048 #791B7A #AB26AC #D33BD4 #DE6EDF

Accessibility & contrast

On white

5.83
#AB26AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB26AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26AC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26AC#FFFFFF#000000##FFFFFF
##AB26AC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#B03D69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab26ac;
/* rgb */ color: rgb(171, 38, 172);
/* oklch */ color: oklch(53.6% 0.219 327.8);
Tailwind
colors: {
  custom: {
    50: '#c871c5',
    500: '#ab26ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab26ac;
$custom-light: #c871c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26ac",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 299.552,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.21927,
    "h": 327.8
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#AB26AC
secondary
#69C568
accent
#E74142
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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