#AD42B2#AD42B2

#AD42B2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.193 H 325.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AD42B2
RGBrgb(173, 66, 178)
HSLhsl(297, 46%, 48%)
HSVhsv(297, 63%, 70%)
CMYKcmyk(2.8%, 62.9%, 0%, 30.2%)
CIE-LABlab(46.97, 58.14, -39.03)
CIE-LCHlch(46.97, 70.03, 326.13°)
OKLaboklab(56.77% 0.1598 -0.1081)
OKLCHoklch(56.77% 0.193 325.9)
XYZxyz(27.2171, 15.9967, 43.7649)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42B2 #47B242
analogous
#7542B2 #AD42B2 #B2427F
triadic
#AD42B2 #B2AD42 #42B2AD
tetradic
#AD42B2 #B27542 #47B242 #427FB2
square
#AD42B2 #B27542 #47B242 #427FB2
split-complementary
#AD42B2 #7FB242 #42B275
monochromatic
#562159 #823185 #AD42B2 #C36AC8 #D596D8

Accessibility & contrast

On white

5.00
#AD42B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AD42B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42B2#FFFFFF#000000##FFFFFF
##AD42B21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#B15274
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad42b2;
/* rgb */ color: rgb(173, 66, 178);
/* oklch */ color: oklch(56.8% 0.193 325.9);
Tailwind
colors: {
  custom: {
    50: '#c87ec9',
    500: '#ad42b2',
    950: '#000000',
  },
}
SCSS
$custom: #ad42b2;
$custom-light: #c87ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42b2",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 297.321,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.19292,
    "h": 325.9
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#AD42B2
secondary
#8EC48C
accent
#D65258
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AD42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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