#AD28A4#AD28A4

#AD28A4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.212 H 331.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AD28A4
RGBrgb(173, 40, 164)
HSLhsl(304, 62%, 42%)
HSVhsv(304, 77%, 68%)
CMYKcmyk(0%, 76.9%, 5.2%, 32.2%)
CIE-LABlab(42.89, 65.21, -37.20)
CIE-LCHlch(42.89, 75.07, 330.30°)
OKLaboklab(53.59% 0.1861 -0.1026)
OKLCHoklch(53.59% 0.212 331.1)
XYZxyz(24.6932, 13.0842, 36.3397)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28A4 #28AD31
analogous
#7428AD #AD28A4 #AD2862
triadic
#AD28A4 #A4AD28 #28A4AD
tetradic
#AD28A4 #AD7428 #28AD31 #2862AD
square
#AD28A4 #AD7428 #28AD31 #2862AD
split-complementary
#AD28A4 #62AD28 #28AD74
monochromatic
#4A1146 #7B1D75 #AD28A4 #D33FC9 #DE71D7

Accessibility & contrast

On white

5.81
#AD28A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AD28A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD28A4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28A4#FFFFFF#000000##FFFFFF
##AD28A41.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#536CA1
Tritanopia (blue-blind)
#B43A65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad28a4;
/* rgb */ color: rgb(173, 40, 164);
/* oklch */ color: oklch(53.6% 0.212 331.1);
Tailwind
colors: {
  custom: {
    50: '#c971bf',
    500: '#ad28a4',
    950: '#000000',
  },
}
SCSS
$custom: #ad28a4;
$custom-light: #c971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28a4",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 304.06,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53586,
    "c": 0.21245,
    "h": 331.1
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#AD28A4
secondary
#6CC572
accent
#E64D42
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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