#AB28A0#AB28A0

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

Color values

HEX#AB28A0
RGBrgb(171, 40, 160)
HSLhsl(305, 62%, 41%)
HSVhsv(305, 77%, 67%)
CMYKcmyk(0%, 76.6%, 6.4%, 32.9%)
CIE-LABlab(42.33, 64.15, -35.71)
CIE-LCHlch(42.33, 73.42, 330.90°)
OKLaboklab(53.05% 0.1839 -0.0983)
OKLCHoklch(53.05% 0.209 331.9)
XYZxyz(23.8986, 12.7156, 34.4466)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB28A0 #28AB33
analogous
#7528AB #AB28A0 #AB285F
triadic
#AB28A0 #A0AB28 #28A0AB
tetradic
#AB28A0 #AB7528 #28AB33 #285FAB
square
#AB28A0 #AB7528 #28AB33 #285FAB
split-complementary
#AB28A0 #5FAB28 #28AB75
monochromatic
#481143 #791C72 #AB28A0 #D23EC6 #DE70D4

Accessibility & contrast

On white

5.93
#AB28A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB28A0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB28A0#FFFFFF#000000##FFFFFF
##AB28A01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#546A9D
Tritanopia (blue-blind)
#B23862
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab28a0;
/* rgb */ color: rgb(171, 40, 160);
/* oklch */ color: oklch(53.1% 0.209 331.9);
Tailwind
colors: {
  custom: {
    50: '#c871bc',
    500: '#ab28a0',
    950: '#000000',
  },
}
SCSS
$custom: #ab28a0;
$custom-light: #c871bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab28a0",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 305.038,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.20854,
    "h": 331.9
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#AB28A0
secondary
#6AC472
accent
#E55043
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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