#AD28A2#AD28A2

#AD28A2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.211 H 331.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AD28A2
RGBrgb(173, 40, 162)
HSLhsl(305, 62%, 42%)
HSVhsv(305, 77%, 68%)
CMYKcmyk(0%, 76.9%, 6.4%, 32.2%)
CIE-LABlab(42.78, 64.90, -36.17)
CIE-LCHlch(42.78, 74.30, 330.87°)
OKLaboklab(53.47% 0.186 -0.0996)
OKLCHoklch(53.47% 0.211 331.8)
XYZxyz(24.5140, 13.0125, 35.3960)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28A2 #28AD33
analogous
#7528AD #AD28A2 #AD2860
triadic
#AD28A2 #A2AD28 #28A2AD
tetradic
#AD28A2 #AD7528 #28AD33 #2860AD
square
#AD28A2 #AD7528 #28AD33 #2860AD
split-complementary
#AD28A2 #60AD28 #28AD75
monochromatic
#4A1145 #7B1D73 #AD28A2 #D33FC7 #DE71D5

Accessibility & contrast

On white

5.83
#AD28A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AD28A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD28A2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28A2#FFFFFF#000000##FFFFFF
##AD28A21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#546B9F
Tritanopia (blue-blind)
#B43964
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad28a2;
/* rgb */ color: rgb(173, 40, 162);
/* oklch */ color: oklch(53.5% 0.211 331.8);
Tailwind
colors: {
  custom: {
    50: '#c971be',
    500: '#ad28a2',
    950: '#000000',
  },
}
SCSS
$custom: #ad28a2;
$custom-light: #c971be;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28a2",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 304.962,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.211,
    "h": 331.8
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#AD28A2
secondary
#6CC573
accent
#E65042
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD28A2

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

Preview Lab → · Contrast checker → · Palette generator →

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