#AD28E2#AD28E2

#AD28E2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.6% C 0.261 H 313.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AD28E2
RGBrgb(173, 40, 226)
HSLhsl(283, 76%, 52%)
HSVhsv(283, 82%, 89%)
CMYKcmyk(23.5%, 82.3%, 0%, 11.4%)
CIE-LABlab(46.84, 75.97, -66.98)
CIE-LCHlch(46.84, 101.28, 318.60°)
OKLaboklab(57.62% 0.1789 -0.1897)
OKLCHoklch(57.62% 0.261 313.3)
XYZxyz(31.7174, 15.8939, 73.3338)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD28E2 #5DE228
analogous
#5028E2 #AD28E2 #E228BA
triadic
#AD28E2 #E2AD28 #28E2AD
tetradic
#AD28E2 #E25028 #5DE228 #28BAE2
square
#AD28E2 #E25028 #5DE228 #28BAE2
split-complementary
#AD28E2 #BAE228 #28E250
monochromatic
#5F117F #8818B4 #AD28E2 #C25EE9 #D694F1

Accessibility & contrast

On white

5.03
#AD28E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AD28E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD28E2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD28E2#FFFFFF#000000##FFFFFF
##AD28E21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0072DE
Tritanopia (blue-blind)
#A75988
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad28e2;
/* rgb */ color: rgb(173, 40, 226);
/* oklch */ color: oklch(57.6% 0.261 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb74ec',
    500: '#ad28e2',
    950: '#000000',
  },
}
SCSS
$custom: #ad28e2;
$custom-light: #cb74ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ad28e2",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 226
  },
  "hsl": {
    "h": 282.903,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.2607,
    "h": 313.3
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#AD28E2
secondary
#A1DC8A
accent
#F3356B
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AD28E2

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

Preview Lab → · Contrast checker → · Palette generator →

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