#AD40D3#AD40D3

#AD40D3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.225 H 315.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AD40D3
RGBrgb(173, 64, 211)
HSLhsl(284, 63%, 54%)
HSVhsv(284, 70%, 83%)
CMYKcmyk(18%, 69.7%, 0%, 17.3%)
CIE-LABlab(48.58, 65.15, -55.60)
CIE-LCHlch(48.58, 85.65, 319.53°)
OKLaboklab(58.54% 0.1614 -0.1564)
OKLCHoklch(58.54% 0.225 315.9)
XYZxyz(30.8230, 17.2553, 63.3224)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40D3 #66D340
analogous
#6440D3 #AD40D3 #D340B0
triadic
#AD40D3 #D3AD40 #40D3AD
tetradic
#AD40D3 #D36440 #66D340 #40B0D3
square
#AD40D3 #D36440 #66D340 #40B0D3
split-complementary
#AD40D3 #B0D340 #40D364
monochromatic
#631D7C #8B28AE #AD40D3 #C272DE #D8A3EA

Accessibility & contrast

On white

4.72
#AD40D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AD40D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40D3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40D3#FFFFFF#000000##FFFFFF
##AD40D31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#3F76D0
Tritanopia (blue-blind)
#AA5E85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad40d3;
/* rgb */ color: rgb(173, 64, 211);
/* oklch */ color: oklch(58.5% 0.225 315.9);
Tailwind
colors: {
  custom: {
    50: '#c97ee1',
    500: '#ad40d3',
    950: '#000000',
  },
}
SCSS
$custom: #ad40d3;
$custom-light: #c97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40d3",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 284.49,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.22475,
    "h": 315.9
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#AD40D3
secondary
#A8D798
accent
#E6426C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD40D3

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

Preview Lab → · Contrast checker → · Palette generator →

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