#AD40D7#AD40D7

#AD40D7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.228 H 314.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AD40D7
RGBrgb(173, 64, 215)
HSLhsl(283, 65%, 55%)
HSVhsv(283, 70%, 84%)
CMYKcmyk(19.5%, 70.2%, 0%, 15.7%)
CIE-LABlab(48.83, 65.94, -57.48)
CIE-LCHlch(48.83, 87.48, 318.92°)
OKLaboklab(58.8% 0.1611 -0.1619)
OKLCHoklch(58.8% 0.228 314.8)
XYZxyz(31.3307, 17.4584, 65.9962)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40D7 #6AD740
analogous
#6140D7 #AD40D7 #D740B6
triadic
#AD40D7 #D7AD40 #40D7AD
tetradic
#AD40D7 #D76140 #6AD740 #40B6D7
square
#AD40D7 #D76140 #6AD740 #40B6D7
split-complementary
#AD40D7 #B6D740 #40D761
monochromatic
#651B81 #8C26B4 #AD40D7 #C373E2 #D8A5EC

Accessibility & contrast

On white

4.68
#AD40D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AD40D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40D7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40D7#FFFFFF#000000##FFFFFF
##AD40D71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#A95F87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ad40d7;
/* rgb */ color: rgb(173, 64, 215);
/* oklch */ color: oklch(58.8% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ee4',
    500: '#ad40d7',
    950: '#000000',
  },
}
SCSS
$custom: #ad40d7;
$custom-light: #ca7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40d7",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 215
  },
  "hsl": {
    "h": 283.311,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.22838,
    "h": 314.8
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#AD40D7
secondary
#ABD99A
accent
#E83F6E
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD40D7

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

Preview Lab → · Contrast checker → · Palette generator →

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