#AD40CE#AD40CE

#AD40CE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.220 H 317.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AD40CE
RGBrgb(173, 64, 206)
HSLhsl(286, 59%, 53%)
HSVhsv(286, 69%, 81%)
CMYKcmyk(16%, 68.9%, 0%, 19.2%)
CIE-LABlab(48.27, 64.18, -53.22)
CIE-LCHlch(48.27, 83.38, 320.33°)
OKLaboklab(58.22% 0.1618 -0.1494)
OKLCHoklch(58.22% 0.22 317.3)
XYZxyz(30.2059, 17.0085, 60.0724)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40CE #61CE40
analogous
#6640CE #AD40CE #CE40A8
triadic
#AD40CE #CEAD40 #40CEAD
tetradic
#AD40CE #CE6640 #61CE40 #40A8CE
square
#AD40CE #CE6640 #61CE40 #40A8CE
split-complementary
#AD40CE #A8CE40 #40CE66
monochromatic
#611E75 #892BA6 #AD40CE #C271DA #D7A1E7

Accessibility & contrast

On white

4.77
#AD40CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AD40CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40CE#FFFFFF#000000##FFFFFF
##AD40CE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#AC5C82
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad40ce;
/* rgb */ color: rgb(173, 64, 206);
/* oklch */ color: oklch(58.2% 0.220 317.3);
Tailwind
colors: {
  custom: {
    50: '#c97ede',
    500: '#ad40ce',
    950: '#000000',
  },
}
SCSS
$custom: #ad40ce;
$custom-light: #c97ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40ce",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 286.056,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58216,
    "c": 0.22025,
    "h": 317.3
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#AD40CE
secondary
#A4D496
accent
#E2456A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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