#AB26B0#AB26B0

#AB26B0 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.222 H 326.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB26B0
RGBrgb(171, 38, 176)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.8%, 78.4%, 0%, 31%)
CIE-LABlab(43.03, 67.28, -44.12)
CIE-LCHlch(43.03, 80.46, 326.74°)
OKLaboklab(53.84% 0.1853 -0.1227)
OKLCHoklch(53.84% 0.222 326.5)
XYZxyz(25.3237, 13.1805, 42.2762)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26B0 #2BB026
analogous
#6626B0 #AB26B0 #B02670
triadic
#AB26B0 #B0AB26 #26B0AB
tetradic
#AB26B0 #B06626 #2BB026 #2670B0
square
#AB26B0 #B06626 #2BB026 #2670B0
split-complementary
#AB26B0 #70B026 #26B066
monochromatic
#49104B #7A1B7E #AB26B0 #D03ED5 #DC70E0

Accessibility & contrast

On white

5.78
#AB26B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB26B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26B0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26B0#FFFFFF#000000##FFFFFF
##AB26B01.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#B03F6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab26b0;
/* rgb */ color: rgb(171, 38, 176);
/* oklch */ color: oklch(53.8% 0.222 326.5);
Tailwind
colors: {
  custom: {
    50: '#c871c8',
    500: '#ab26b0',
    950: '#000000',
  },
}
SCSS
$custom: #ab26b0;
$custom-light: #c871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26b0",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 297.826,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.22228,
    "h": 326.5
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#AB26B0
secondary
#6EC76B
accent
#E74046
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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