#AD40DD#AD40DD

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

Color values

HEX#AD40DD
RGBrgb(173, 64, 221)
HSLhsl(282, 70%, 56%)
HSVhsv(282, 71%, 87%)
CMYKcmyk(21.7%, 71%, 0%, 13.3%)
CIE-LABlab(49.22, 67.14, -60.28)
CIE-LCHlch(49.22, 90.23, 318.08°)
OKLaboklab(59.2% 0.1604 -0.1701)
OKLCHoklch(59.2% 0.234 313.3)
XYZxyz(32.1158, 17.7725, 70.1313)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40DD #70DD40
analogous
#5E40DD #AD40DD #DD40BE
triadic
#AD40DD #DDAD40 #40DDAD
tetradic
#AD40DD #DD5E40 #70DD40 #40BEDD
square
#AD40DD #DD5E40 #70DD40 #40BEDD
split-complementary
#AD40DD #BEDD40 #40DD5E
monochromatic
#67198A #8E22BE #AD40DD #C374E6 #DAA8EF

Accessibility & contrast

On white

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

On black

4.55
#AD40DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AD40DD#FFFFFF#000000##FFFFFF
##AD40DD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#3377DA
Tritanopia (blue-blind)
#A8628B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad40dd;
/* rgb */ color: rgb(173, 64, 221);
/* oklch */ color: oklch(59.2% 0.234 313.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ee8',
    500: '#ad40dd',
    950: '#000000',
  },
}
SCSS
$custom: #ad40dd;
$custom-light: #ca7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40dd",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 281.656,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59195,
    "c": 0.23383,
    "h": 313.3
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#AD40DD
secondary
#B0DD9C
accent
#ED3B71
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD40DD

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

Preview Lab → · Contrast checker → · Palette generator →

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