#AB26A4#AB26A4

#AB26A4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.213 H 330.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB26A4
RGBrgb(171, 38, 164)
HSLhsl(303, 64%, 41%)
HSVhsv(303, 78%, 67%)
CMYKcmyk(0%, 77.8%, 4.1%, 32.9%)
CIE-LABlab(42.35, 65.35, -38.08)
CIE-LCHlch(42.35, 75.64, 329.77°)
OKLaboklab(53.13% 0.1857 -0.1051)
OKLCHoklch(53.13% 0.213 330.5)
XYZxyz(24.1885, 12.7264, 36.2972)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26A4 #26AB2D
analogous
#6F26AB #AB26A4 #AB2661
triadic
#AB26A4 #A4AB26 #26A4AB
tetradic
#AB26A4 #AB6F26 #26AB2D #2661AB
square
#AB26A4 #AB6F26 #26AB2D #2661AB
split-complementary
#AB26A4 #61AB26 #26AB6F
monochromatic
#471044 #791B74 #AB26A4 #D33BCB #DF6DD9

Accessibility & contrast

On white

5.92
#AB26A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB26A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26A4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26A4#FFFFFF#000000##FFFFFF
##AB26A41.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#B23964
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab26a4;
/* rgb */ color: rgb(171, 38, 164);
/* oklch */ color: oklch(53.1% 0.213 330.5);
Tailwind
colors: {
  custom: {
    50: '#c870bf',
    500: '#ab26a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab26a4;
$custom-light: #c870bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26a4",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 303.158,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.21336,
    "h": 330.5
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#AB26A4
secondary
#68C56D
accent
#E74A41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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