#AD28AA#AD28AA

#AD28AA is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.217 H 329.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AD28AA
RGBrgb(173, 40, 170)
HSLhsl(301, 62%, 42%)
HSVhsv(301, 77%, 68%)
CMYKcmyk(0%, 76.9%, 1.7%, 32.2%)
CIE-LABlab(43.22, 66.15, -40.25)
CIE-LCHlch(43.22, 77.43, 328.68°)
OKLaboklab(53.93% 0.1861 -0.1114)
OKLCHoklch(53.93% 0.217 329.1)
XYZxyz(25.2479, 13.3060, 39.2610)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28AA #28AD2B
analogous
#6D28AD #AD28AA #AD2868
triadic
#AD28AA #AAAD28 #28AAAD
tetradic
#AD28AA #AD6D28 #28AD2B #2868AD
square
#AD28AA #AD6D28 #28AD2B #2868AD
split-complementary
#AD28AA #68AD28 #28AD6D
monochromatic
#4A1148 #7B1D79 #AD28AA #D33FCF #DE71DC

Accessibility & contrast

On white

5.74
#AD28AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AD28AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD28AA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28AA#FFFFFF#000000##FFFFFF
##AD28AA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5BAD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#B33D68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ad28aa;
/* rgb */ color: rgb(173, 40, 170);
/* oklch */ color: oklch(53.9% 0.217 329.1);
Tailwind
colors: {
  custom: {
    50: '#c972c4',
    500: '#ad28aa',
    950: '#000000',
  },
}
SCSS
$custom: #ad28aa;
$custom-light: #c972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28aa",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 301.353,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.21686,
    "h": 329.1
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#AD28AA
secondary
#6CC56E
accent
#E64642
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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