#AD28B1#AD28B1

#AD28B1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.222 H 326.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AD28B1
RGBrgb(173, 40, 177)
HSLhsl(298, 63%, 43%)
HSVhsv(298, 77%, 69%)
CMYKcmyk(2.3%, 77.4%, 0%, 30.6%)
CIE-LABlab(43.62, 67.28, -43.76)
CIE-LCHlch(43.62, 80.26, 326.96°)
OKLaboklab(54.34% 0.1858 -0.1216)
OKLCHoklch(54.34% 0.222 326.8)
XYZxyz(25.9277, 13.5780, 42.8416)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28B1 #2CB128
analogous
#6828B1 #AD28B1 #B12871
triadic
#AD28B1 #B1AD28 #28B1AD
tetradic
#AD28B1 #B16828 #2CB128 #2871B1
square
#AD28B1 #B16828 #2CB128 #2871B1
split-complementary
#AD28B1 #71B128 #28B168
monochromatic
#4B114D #7C1D7F #AD28B1 #D042D4 #DC74E0

Accessibility & contrast

On white

5.65
#AD28B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AD28B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD28B1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28B1#FFFFFF#000000##FFFFFF
##AD28B11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#B2406C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ad28b1;
/* rgb */ color: rgb(173, 40, 177);
/* oklch */ color: oklch(54.3% 0.222 326.8);
Tailwind
colors: {
  custom: {
    50: '#c972c9',
    500: '#ad28b1',
    950: '#000000',
  },
}
SCSS
$custom: #ad28b1;
$custom-light: #c972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28b1",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 298.248,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.22211,
    "h": 326.8
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#AD28B1
secondary
#71C76E
accent
#E64246
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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