#AB28AD#AB28AD

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

Color values

HEX#AB28AD
RGBrgb(171, 40, 173)
HSLhsl(299, 62%, 42%)
HSVhsv(299, 77%, 68%)
CMYKcmyk(1.2%, 76.9%, 0%, 32.2%)
CIE-LABlab(43.05, 66.22, -42.31)
CIE-LCHlch(43.05, 78.59, 327.42°)
OKLaboklab(53.8% 0.1839 -0.1175)
OKLCHoklch(53.8% 0.218 327.4)
XYZxyz(25.0958, 13.1945, 40.7521)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB28AD #2AAD28
analogous
#6928AD #AB28AD #AD286D
triadic
#AB28AD #ADAB28 #28ADAB
tetradic
#AB28AD #AD6928 #2AAD28 #286DAD
square
#AB28AD #AD6928 #2AAD28 #286DAD
split-complementary
#AB28AD #6DAD28 #28AD69
monochromatic
#49114A #7A1D7B #AB28AD #D13FD3 #DD71DE

Accessibility & contrast

On white

5.77
#AB28AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB28AD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB28AD#FFFFFF#000000##FFFFFF
##AB28AD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab28ad;
/* rgb */ color: rgb(171, 40, 173);
/* oklch */ color: oklch(53.8% 0.218 327.4);
Tailwind
colors: {
  custom: {
    50: '#c872c6',
    500: '#ab28ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab28ad;
$custom-light: #c872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab28ad",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 299.098,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.21819,
    "h": 327.4
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#AB28AD
secondary
#6DC56C
accent
#E64245
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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