#AD28B2#AD28B2

#AD28B2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.223 H 326.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AD28B2
RGBrgb(173, 40, 178)
HSLhsl(298, 63%, 43%)
HSVhsv(298, 78%, 70%)
CMYKcmyk(2.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(43.68, 67.45, -44.26)
CIE-LCHlch(43.68, 80.67, 326.73°)
OKLaboklab(54.4% 0.1858 -0.1231)
OKLCHoklch(54.4% 0.223 326.5)
XYZxyz(26.0278, 13.6180, 43.3685)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28B2 #2DB228
analogous
#6828B2 #AD28B2 #B22872
triadic
#AD28B2 #B2AD28 #28B2AD
tetradic
#AD28B2 #B26828 #2DB228 #2872B2
square
#AD28B2 #B26828 #2DB228 #2872B2
split-complementary
#AD28B2 #72B228 #28B268
monochromatic
#4C124E #7C1D80 #AD28B2 #CF43D5 #DC75E0

Accessibility & contrast

On white

5.64
#AD28B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AD28B2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28B2#FFFFFF#000000##FFFFFF
##AD28B21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#B2416D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ad28b2;
/* rgb */ color: rgb(173, 40, 178);
/* oklch */ color: oklch(54.4% 0.223 326.5);
Tailwind
colors: {
  custom: {
    50: '#c972c9',
    500: '#ad28b2',
    950: '#000000',
  },
}
SCSS
$custom: #ad28b2;
$custom-light: #c972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28b2",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 297.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.22287,
    "h": 326.5
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#AD28B2
secondary
#72C76F
accent
#E64147
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD28B2

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

Preview Lab → · Contrast checker → · Palette generator →

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