#AB26A3#AB26A3

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

Color values

HEX#AB26A3
RGBrgb(171, 38, 163)
HSLhsl(304, 64%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 77.8%, 4.7%, 32.9%)
CIE-LABlab(42.29, 65.20, -37.56)
CIE-LCHlch(42.29, 75.25, 330.05°)
OKLaboklab(53.08% 0.1856 -0.1037)
OKLCHoklch(53.08% 0.213 330.8)
XYZxyz(24.0985, 12.6905, 35.8235)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26A3 #26AB2E
analogous
#7026AB #AB26A3 #AB2660
triadic
#AB26A3 #A3AB26 #26A3AB
tetradic
#AB26A3 #AB7026 #26AB2E #2660AB
square
#AB26A3 #AB7026 #26AB2E #2660AB
split-complementary
#AB26A3 #60AB26 #26AB70
monochromatic
#471044 #791B73 #AB26A3 #D33BCA #DF6DD8

Accessibility & contrast

On white

5.94
#AB26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB26A3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26A3#FFFFFF#000000##FFFFFF
##AB26A31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#B23864
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab26a3;
/* rgb */ color: rgb(171, 38, 163);
/* oklch */ color: oklch(53.1% 0.213 330.8);
Tailwind
colors: {
  custom: {
    50: '#c870bf',
    500: '#ab26a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab26a3;
$custom-light: #c870bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26a3",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 303.609,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.21263,
    "h": 330.8
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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