#AD40E1#AD40E1

#AD40E1 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.237 H 312.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AD40E1
RGBrgb(173, 64, 225)
HSLhsl(281, 73%, 57%)
HSVhsv(281, 72%, 88%)
CMYKcmyk(23.1%, 71.6%, 0%, 11.8%)
CIE-LABlab(49.48, 67.94, -62.12)
CIE-LCHlch(49.48, 92.06, 317.56°)
OKLaboklab(59.47% 0.1599 -0.1756)
OKLCHoklch(59.47% 0.237 312.3)
XYZxyz(32.6551, 17.9882, 72.9714)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40E1 #74E140
analogous
#5D40E1 #AD40E1 #E140C5
triadic
#AD40E1 #E1AD40 #40E1AD
tetradic
#AD40E1 #E15D40 #74E140 #40C5E1
square
#AD40E1 #E15D40 #74E140 #40C5E1
split-complementary
#AD40E1 #C5E140 #40E15D
monochromatic
#691790 #8F1FC5 #AD40E1 #C475E9 #DAAAF2

Accessibility & contrast

On white

4.57
#AD40E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AD40E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD40E1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40E1#FFFFFF#000000##000000
##AD40E11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#2D78DE
Tritanopia (blue-blind)
#A7638D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ad40e1;
/* rgb */ color: rgb(173, 64, 225);
/* oklch */ color: oklch(59.5% 0.237 312.3);
Tailwind
colors: {
  custom: {
    50: '#ca7eeb',
    500: '#ad40e1',
    950: '#000000',
  },
}
SCSS
$custom: #ad40e1;
$custom-light: #ca7eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40e1",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 225
  },
  "hsl": {
    "h": 280.621,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59465,
    "c": 0.23746,
    "h": 312.3
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#AD40E1
secondary
#B3DF9D
accent
#F03873
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD40E1

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

Preview Lab → · Contrast checker → · Palette generator →

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