#AD42E2#AD42E2

#AD42E2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.236 H 312.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AD42E2
RGBrgb(173, 66, 226)
HSLhsl(280, 73%, 57%)
HSVhsv(280, 71%, 89%)
CMYKcmyk(23.5%, 70.8%, 0%, 11.4%)
CIE-LABlab(49.83, 67.36, -62.14)
CIE-LCHlch(49.83, 91.64, 317.31°)
OKLaboklab(59.73% 0.1579 -0.1756)
OKLCHoklch(59.73% 0.236 312)
XYZxyz(32.9067, 18.2725, 73.7303)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42E2 #77E242
analogous
#5D42E2 #AD42E2 #E242C7
triadic
#AD42E2 #E2AD42 #42E2AD
tetradic
#AD42E2 #E25D42 #77E242 #42C7E2
square
#AD42E2 #E25D42 #77E242 #42C7E2
split-complementary
#AD42E2 #C7E242 #42E25D
monochromatic
#6A1793 #901FC8 #AD42E2 #C477EA #DBACF2

Accessibility & contrast

On white

4.51
#AD42E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AD42E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD42E2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42E2#FFFFFF#000000##000000
##AD42E21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#2E79DF
Tritanopia (blue-blind)
#A7658E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ad42e2;
/* rgb */ color: rgb(173, 66, 226);
/* oklch */ color: oklch(59.7% 0.236 312.0);
Tailwind
colors: {
  custom: {
    50: '#ca7fec',
    500: '#ad42e2',
    950: '#000000',
  },
}
SCSS
$custom: #ad42e2;
$custom-light: #ca7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42e2",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 280.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.23613,
    "h": 312
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#AD42E2
secondary
#B5E09F
accent
#F03875
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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