#AD47DC#AD47DC

#AD47DC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.225 H 313.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AD47DC
RGBrgb(173, 71, 220)
HSLhsl(281, 68%, 57%)
HSVhsv(281, 68%, 86%)
CMYKcmyk(21.4%, 67.7%, 0%, 13.7%)
CIE-LABlab(50.17, 64.09, -58.18)
CIE-LCHlch(50.17, 86.56, 317.77°)
OKLaboklab(59.85% 0.1534 -0.164)
OKLCHoklch(59.85% 0.225 313.1)
XYZxyz(32.4028, 18.5590, 69.5716)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD47DC #76DC47
analogous
#6347DC #AD47DC #DC47C1
triadic
#AD47DC #DCAD47 #47DCAD
tetradic
#AD47DC #DC6347 #76DC47 #47C1DC
square
#AD47DC #DC6347 #76DC47 #47C1DC
split-complementary
#AD47DC #C1DC47 #47DC63
monochromatic
#691B8E #9025C1 #AD47DC #C47AE6 #DBAEF0

Accessibility & contrast

On white

4.46
#AD47DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AD47DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD47DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD47DC#FFFFFF#000000##000000
##AD47DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#A8668C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ad47dc;
/* rgb */ color: rgb(173, 71, 220);
/* oklch */ color: oklch(59.9% 0.225 313.1);
Tailwind
colors: {
  custom: {
    50: '#ca82e8',
    500: '#ad47dc',
    950: '#000000',
  },
}
SCSS
$custom: #ad47dc;
$custom-light: #ca82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad47dc",
  "rgb": {
    "r": 173,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 281.074,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.22458,
    "h": 313.1
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#AD47DC
secondary
#B4DEA1
accent
#EB3D74
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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