#AB26BD#AB26BD

#AB26BD is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.7% C 0.232 H 322.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB26BD
RGBrgb(171, 38, 189)
HSLhsl(293, 67%, 45%)
HSVhsv(293, 80%, 74%)
CMYKcmyk(9.5%, 79.9%, 0%, 25.9%)
CIE-LABlab(43.83, 69.47, -50.50)
CIE-LCHlch(43.83, 85.89, 323.98°)
OKLaboklab(54.66% 0.1842 -0.1414)
OKLCHoklch(54.66% 0.232 322.5)
XYZxyz(26.6721, 13.7199, 49.3776)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB26BD #38BD26
analogous
#6026BD #AB26BD #BD2683
triadic
#AB26BD #BDAB26 #26BDAB
tetradic
#AB26BD #BD6026 #38BD26 #2683BD
square
#AB26BD #BD6026 #38BD26 #2683BD
split-complementary
#AB26BD #83BD26 #26BD60
monochromatic
#4F1257 #7D1C8A #AB26BD #C846DA #D779E4

Accessibility & contrast

On white

5.61
#AB26BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB26BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB26BD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB26BD#FFFFFF#000000##FFFFFF
##AB26BD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3F6CBA
Tritanopia (blue-blind)
#AD4673
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab26bd;
/* rgb */ color: rgb(171, 38, 189);
/* oklch */ color: oklch(54.7% 0.232 322.5);
Tailwind
colors: {
  custom: {
    50: '#c872d2',
    500: '#ab26bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab26bd;
$custom-light: #c872d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab26bd",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 292.848,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.23223,
    "h": 322.5
  },
  "luminance": 0.13718
}

Semantic roles & 50–950 ramp

primary
#AB26BD
secondary
#7DCC73
accent
#E93E53
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AB26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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