#AD40C5#AD40C5

#AD40C5 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.212 H 319.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AD40C5
RGBrgb(173, 64, 197)
HSLhsl(289, 53%, 51%)
HSVhsv(289, 68%, 77%)
CMYKcmyk(12.2%, 67.5%, 0%, 22.7%)
CIE-LABlab(47.73, 62.46, -48.89)
CIE-LCHlch(47.73, 79.32, 321.95°)
OKLaboklab(57.66% 0.1622 -0.1368)
OKLCHoklch(57.66% 0.212 319.9)
XYZxyz(29.1438, 16.5837, 54.4783)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40C5 #58C540
analogous
#6A40C5 #AD40C5 #C5409A
triadic
#AD40C5 #C5AD40 #40C5AD
tetradic
#AD40C5 #C56A40 #58C540 #409AC5
square
#AD40C5 #C56A40 #58C540 #409AC5
split-complementary
#AD40C5 #9AC540 #40C56A
monochromatic
#5D206A #862F99 #AD40C5 #C16FD3 #D59EE2

Accessibility & contrast

On white

4.87
#AD40C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AD40C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40C5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40C5#FFFFFF#000000##FFFFFF
##AD40C51.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6AC9
Deuteranopia (green-blind)
#4B75C2
Tritanopia (blue-blind)
#AE587E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad40c5;
/* rgb */ color: rgb(173, 64, 197);
/* oklch */ color: oklch(57.7% 0.212 319.9);
Tailwind
colors: {
  custom: {
    50: '#c97dd7',
    500: '#ad40c5',
    950: '#000000',
  },
}
SCSS
$custom: #ad40c5;
$custom-light: #c97dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40c5",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 289.173,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.2122,
    "h": 319.9
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#AD40C5
secondary
#9ECE93
accent
#DD4B65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AD40C5

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

Preview Lab → · Contrast checker → · Palette generator →

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