#AB28AE#AB28AE

#AB28AE is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.9% C 0.219 H 327.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB28AE
RGBrgb(171, 40, 174)
HSLhsl(299, 63%, 42%)
HSVhsv(299, 77%, 68%)
CMYKcmyk(1.7%, 77%, 0%, 31.8%)
CIE-LABlab(43.11, 66.39, -42.81)
CIE-LCHlch(43.11, 78.99, 327.18°)
OKLaboklab(53.86% 0.1838 -0.1189)
OKLCHoklch(53.86% 0.219 327.1)
XYZxyz(25.1930, 13.2333, 41.2636)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB28AE #2BAE28
analogous
#6828AE #AB28AE #AE286E
triadic
#AB28AE #AEAB28 #28AEAB
tetradic
#AB28AE #AE6828 #2BAE28 #286EAE
square
#AB28AE #AE6828 #2BAE28 #286EAE
split-complementary
#AB28AE #6EAE28 #28AE68
monochromatic
#49114A #7A1D7C #AB28AE #D040D3 #DC72DF

Accessibility & contrast

On white

5.76
#AB28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB28AE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB28AE#FFFFFF#000000##FFFFFF
##AB28AE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4C6BAB
Tritanopia (blue-blind)
#B03F6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab28ae;
/* rgb */ color: rgb(171, 40, 174);
/* oklch */ color: oklch(53.9% 0.219 327.1);
Tailwind
colors: {
  custom: {
    50: '#c872c7',
    500: '#ab28ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab28ae;
$custom-light: #c872c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab28ae",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 298.657,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.21895,
    "h": 327.1
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#AB28AE
secondary
#6EC66C
accent
#E64246
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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