#AD28A7#AD28A7

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

Color values

HEX#AD28A7
RGBrgb(173, 40, 167)
HSLhsl(303, 62%, 42%)
HSVhsv(303, 77%, 68%)
CMYKcmyk(0%, 76.9%, 3.5%, 32.2%)
CIE-LABlab(43.05, 65.68, -38.73)
CIE-LCHlch(43.05, 76.24, 329.47°)
OKLaboklab(53.76% 0.1861 -0.107)
OKLCHoklch(53.76% 0.215 330.1)
XYZxyz(24.9673, 13.1938, 37.7834)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28A7 #28AD2E
analogous
#7128AD #AD28A7 #AD2865
triadic
#AD28A7 #A7AD28 #28A7AD
tetradic
#AD28A7 #AD7128 #28AD2E #2865AD
square
#AD28A7 #AD7128 #28AD2E #2865AD
split-complementary
#AD28A7 #65AD28 #28AD71
monochromatic
#4A1147 #7B1D77 #AD28A7 #D33FCC #DE71D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD28A7#FFFFFF#000000##FFFFFF
##AD28A71.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)
#145AAA
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#B43B66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad28a7;
/* rgb */ color: rgb(173, 40, 167);
/* oklch */ color: oklch(53.8% 0.215 330.1);
Tailwind
colors: {
  custom: {
    50: '#c972c1',
    500: '#ad28a7',
    950: '#000000',
  },
}
SCSS
$custom: #ad28a7;
$custom-light: #c972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28a7",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 302.707,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53756,
    "c": 0.21464,
    "h": 330.1
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#AD28A7
secondary
#6CC570
accent
#E64A42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD28A7

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

Preview Lab → · Contrast checker → · Palette generator →

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