#AD28B3#AD28B3

#AD28B3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.224 H 326.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AD28B3
RGBrgb(173, 40, 179)
HSLhsl(297, 63%, 43%)
HSVhsv(297, 78%, 70%)
CMYKcmyk(3.4%, 77.7%, 0%, 29.8%)
CIE-LABlab(43.74, 67.61, -44.75)
CIE-LCHlch(43.74, 81.08, 326.50°)
OKLaboklab(54.46% 0.1858 -0.1245)
OKLCHoklch(54.46% 0.224 326.2)
XYZxyz(26.1285, 13.6583, 43.8992)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28B3 #2EB328
analogous
#6728B3 #AD28B3 #B32873
triadic
#AD28B3 #B3AD28 #28B3AD
tetradic
#AD28B3 #B36728 #2EB328 #2873B3
square
#AD28B3 #B36728 #2EB328 #2873B3
split-complementary
#AD28B3 #73B328 #28B367
monochromatic
#4C124F #7D1D81 #AD28B3 #CF43D5 #DC75E0

Accessibility & contrast

On white

5.63
#AD28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AD28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD28B3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28B3#FFFFFF#000000##FFFFFF
##AD28B31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ad28b3;
/* rgb */ color: rgb(173, 40, 179);
/* oklch */ color: oklch(54.5% 0.224 326.2);
Tailwind
colors: {
  custom: {
    50: '#c972ca',
    500: '#ad28b3',
    950: '#000000',
  },
}
SCSS
$custom: #ad28b3;
$custom-light: #c972ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28b3",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 297.41,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.22363,
    "h": 326.2
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#AD28B3
secondary
#73C86F
accent
#E64148
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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