#AB26A0#AB26A0

#AB26A0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.210 H 331.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB26A0
RGBrgb(171, 38, 160)
HSLhsl(305, 64%, 41%)
HSVhsv(305, 78%, 67%)
CMYKcmyk(0%, 77.8%, 6.4%, 32.9%)
CIE-LABlab(42.13, 64.73, -36.02)
CIE-LCHlch(42.13, 74.08, 330.90°)
OKLaboklab(52.91% 0.1856 -0.0992)
OKLCHoklch(52.91% 0.21 331.9)
XYZxyz(23.8329, 12.5842, 34.4247)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26A0 #26AB31
analogous
#7326AB #AB26A0 #AB265E
triadic
#AB26A0 #A0AB26 #26A0AB
tetradic
#AB26A0 #AB7326 #26AB31 #265EAB
square
#AB26A0 #AB7326 #26AB31 #265EAB
split-complementary
#AB26A0 #5EAB26 #26AB73
monochromatic
#471042 #791B71 #AB26A0 #D33BC7 #DF6DD5

Accessibility & contrast

On white

5.97
#AB26A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB26A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26A0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26A0#FFFFFF#000000##FFFFFF
##AB26A01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A3
Deuteranopia (green-blind)
#536A9D
Tritanopia (blue-blind)
#B23762
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab26a0;
/* rgb */ color: rgb(171, 38, 160);
/* oklch */ color: oklch(52.9% 0.210 331.9);
Tailwind
colors: {
  custom: {
    50: '#c870bc',
    500: '#ab26a0',
    950: '#000000',
  },
}
SCSS
$custom: #ab26a0;
$custom-light: #c870bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26a0",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 304.962,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.21045,
    "h": 331.9
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#AB26A0
secondary
#68C570
accent
#E74F41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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