#AB26AD#AB26AD

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

Color values

HEX#AB26AD
RGBrgb(171, 38, 173)
HSLhsl(299, 64%, 41%)
HSVhsv(299, 78%, 68%)
CMYKcmyk(1.2%, 78%, 0%, 32.2%)
CIE-LABlab(42.86, 66.79, -42.63)
CIE-LCHlch(42.86, 79.23, 327.45°)
OKLaboklab(53.66% 0.1855 -0.1184)
OKLCHoklch(53.66% 0.22 327.5)
XYZxyz(25.0302, 13.0631, 40.7302)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26AD #28AD26
analogous
#6826AD #AB26AD #AD266C
triadic
#AB26AD #ADAB26 #26ADAB
tetradic
#AB26AD #AD6826 #28AD26 #266CAD
square
#AB26AD #AD6826 #28AD26 #266CAD
split-complementary
#AB26AD #6CAD26 #26AD68
monochromatic
#481049 #791B7B #AB26AD #D23CD4 #DE6EDF

Accessibility & contrast

On white

5.81
#AB26AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB26AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26AD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26AD#FFFFFF#000000##FFFFFF
##AB26AD1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#B03E69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab26ad;
/* rgb */ color: rgb(171, 38, 173);
/* oklch */ color: oklch(53.7% 0.220 327.5);
Tailwind
colors: {
  custom: {
    50: '#c871c6',
    500: '#ab26ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab26ad;
$custom-light: #c871c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26ad",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 299.111,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.22002,
    "h": 327.5
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#AB26AD
secondary
#6AC669
accent
#E74143
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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