#AD42DC#AD42DC

#AD42DC is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.231 H 313.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AD42DC
RGBrgb(173, 66, 220)
HSLhsl(282, 69%, 56%)
HSVhsv(282, 70%, 86%)
CMYKcmyk(21.4%, 70%, 0%, 13.7%)
CIE-LABlab(49.43, 66.15, -59.36)
CIE-LCHlch(49.43, 88.88, 318.09°)
OKLaboklab(59.33% 0.1586 -0.1674)
OKLCHoklch(59.33% 0.231 313.4)
XYZxyz(32.0978, 17.9490, 69.4699)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42DC #71DC42
analogous
#6042DC #AD42DC #DC42BE
triadic
#AD42DC #DCAD42 #42DCAD
tetradic
#AD42DC #DC6042 #71DC42 #42BEDC
square
#AD42DC #DC6042 #71DC42 #42BEDC
split-complementary
#AD42DC #BEDC42 #42DC60
monochromatic
#681A8A #8F23BE #AD42DC #C376E6 #DAA9EF

Accessibility & contrast

On white

4.58
#AD42DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AD42DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD42DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42DC#FFFFFF#000000##000000
##AD42DC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#A8638B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad42dc;
/* rgb */ color: rgb(173, 66, 220);
/* oklch */ color: oklch(59.3% 0.231 313.4);
Tailwind
colors: {
  custom: {
    50: '#ca7fe8',
    500: '#ad42dc',
    950: '#000000',
  },
}
SCSS
$custom: #ad42dc;
$custom-light: #ca7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42dc",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 281.688,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.2306,
    "h": 313.4
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#AD42DC
secondary
#B1DD9D
accent
#EC3C72
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD42DC

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

Preview Lab → · Contrast checker → · Palette generator →

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