#AD42B7#AD42B7

#AD42B7 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.197 H 324.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AD42B7
RGBrgb(173, 66, 183)
HSLhsl(295, 47%, 49%)
HSVhsv(295, 64%, 72%)
CMYKcmyk(5.5%, 63.9%, 0%, 28.2%)
CIE-LABlab(47.24, 59.04, -41.54)
CIE-LCHlch(47.24, 72.19, 324.87°)
OKLaboklab(57.05% 0.16 -0.1153)
OKLCHoklch(57.05% 0.197 324.2)
XYZxyz(27.7283, 16.2012, 46.4572)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42B7 #4CB742
analogous
#7342B7 #AD42B7 #B74287
triadic
#AD42B7 #B7AD42 #42B7AD
tetradic
#AD42B7 #B77342 #4CB742 #4287B7
square
#AD42B7 #B77342 #4CB742 #4287B7
split-complementary
#AD42B7 #87B742 #42B773
monochromatic
#58225D #82328A #AD42B7 #C26CCA #D599DA

Accessibility & contrast

On white

4.95
#AD42B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AD42B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42B7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42B7#FFFFFF#000000##FFFFFF
##AD42B71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#5674B4
Tritanopia (blue-blind)
#B05477
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ad42b7;
/* rgb */ color: rgb(173, 66, 183);
/* oklch */ color: oklch(57.0% 0.197 324.2);
Tailwind
colors: {
  custom: {
    50: '#c97ecd',
    500: '#ad42b7',
    950: '#000000',
  },
}
SCSS
$custom: #ad42b7;
$custom-light: #c97ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42b7",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 294.872,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.19725,
    "h": 324.2
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#AD42B7
secondary
#93C68F
accent
#D7515D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AD42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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