#AD42CE#AD42CE

#AD42CE is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.218 H 317.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AD42CE
RGBrgb(173, 66, 206)
HSLhsl(286, 59%, 53%)
HSVhsv(286, 68%, 81%)
CMYKcmyk(16%, 68%, 0%, 19.2%)
CIE-LABlab(48.56, 63.37, -52.76)
CIE-LCHlch(48.56, 82.46, 320.22°)
OKLaboklab(58.42% 0.1597 -0.1481)
OKLCHoklch(58.42% 0.218 317.2)
XYZxyz(30.3207, 17.2381, 60.1107)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42CE #63CE42
analogous
#6742CE #AD42CE #CE42A9
triadic
#AD42CE #CEAD42 #42CEAD
tetradic
#AD42CE #CE6742 #63CE42 #42A9CE
square
#AD42CE #CE6742 #63CE42 #42A9CE
split-complementary
#AD42CE #A9CE42 #42CE67
monochromatic
#621F77 #8A2BA7 #AD42CE #C273DB #D7A3E7

Accessibility & contrast

On white

4.72
#AD42CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AD42CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42CE#FFFFFF#000000##FFFFFF
##AD42CE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#AC5D83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad42ce;
/* rgb */ color: rgb(173, 66, 206);
/* oklch */ color: oklch(58.4% 0.218 317.2);
Tailwind
colors: {
  custom: {
    50: '#c97fde',
    500: '#ad42ce',
    950: '#000000',
  },
}
SCSS
$custom: #ad42ce;
$custom-light: #c97fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42ce",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 285.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.2178,
    "h": 317.2
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#AD42CE
secondary
#A6D498
accent
#E2466B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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