#AD42D9#AD42D9

#AD42D9 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.228 H 314.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AD42D9
RGBrgb(173, 66, 217)
HSLhsl(283, 67%, 55%)
HSVhsv(283, 70%, 85%)
CMYKcmyk(20.3%, 69.6%, 0%, 14.9%)
CIE-LABlab(49.24, 65.54, -57.96)
CIE-LCHlch(49.24, 87.49, 318.51°)
OKLaboklab(59.13% 0.1589 -0.1633)
OKLCHoklch(59.13% 0.228 314.2)
XYZxyz(31.7041, 17.7915, 67.3962)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42D9 #6ED942
analogous
#6242D9 #AD42D9 #D942B9
triadic
#AD42D9 #D9AD42 #42D9AD
tetradic
#AD42D9 #D96242 #6ED942 #42B9D9
square
#AD42D9 #D96242 #6ED942 #42B9D9
split-complementary
#AD42D9 #B9D942 #42D962
monochromatic
#671B86 #8E25B9 #AD42D9 #C375E3 #D9A8ED

Accessibility & contrast

On white

4.61
#AD42D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AD42D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42D9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42D9#FFFFFF#000000##FFFFFF
##AD42D91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#A96189
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad42d9;
/* rgb */ color: rgb(173, 66, 217);
/* oklch */ color: oklch(59.1% 0.228 314.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fe5',
    500: '#ad42d9',
    950: '#000000',
  },
}
SCSS
$custom: #ad42d9;
$custom-light: #ca7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42d9",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 282.517,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.22785,
    "h": 314.2
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#AD42D9
secondary
#AEDB9C
accent
#E93E70
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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