#AD22E3#AD22E3

#AD22E3 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.4% C 0.266 H 313.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AD22E3
RGBrgb(173, 34, 227)
HSLhsl(283, 78%, 51%)
HSVhsv(283, 85%, 89%)
CMYKcmyk(23.8%, 85%, 0%, 11%)
CIE-LABlab(46.41, 77.61, -68.23)
CIE-LCHlch(46.41, 103.34, 318.68°)
OKLaboklab(57.35% 0.1822 -0.1933)
OKLCHoklch(57.35% 0.266 313.3)
XYZxyz(31.6683, 15.5754, 73.9963)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD22E3 #58E322
analogous
#4C22E3 #AD22E3 #E322B9
triadic
#AD22E3 #E3AD22 #22E3AD
tetradic
#AD22E3 #E34C22 #58E322 #22B9E3
square
#AD22E3 #E34C22 #58E322 #22B9E3
split-complementary
#AD22E3 #B9E322 #22E34C
monochromatic
#5D107B #8616B1 #AD22E3 #C158EA #D58FF1

Accessibility & contrast

On white

5.10
#AD22E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AD22E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD22E3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD22E3#FFFFFF#000000##FFFFFF
##AD22E31.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#A75788
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ad22e3;
/* rgb */ color: rgb(173, 34, 227);
/* oklch */ color: oklch(57.4% 0.266 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb72ed',
    500: '#ad22e3',
    950: '#000000',
  },
}
SCSS
$custom: #ad22e3;
$custom-light: #cb72ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ad22e3",
  "rgb": {
    "r": 173,
    "g": 34,
    "b": 227
  },
  "hsl": {
    "h": 283.212,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.26562,
    "h": 313.3
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#AD22E3
secondary
#9EDB86
accent
#F4346A
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AD22E3

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

Preview Lab → · Contrast checker → · Palette generator →

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