#AD40A0#AD40A0

#AD40A0 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.181 H 332.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AD40A0
RGBrgb(173, 64, 160)
HSLhsl(307, 46%, 46%)
HSVhsv(307, 63%, 68%)
CMYKcmyk(0%, 63%, 7.5%, 32.2%)
CIE-LABlab(45.76, 55.91, -30.30)
CIE-LCHlch(45.76, 63.59, 331.55°)
OKLaboklab(55.59% 0.1607 -0.0829)
OKLCHoklch(55.59% 0.181 332.7)
XYZxyz(25.4122, 15.0910, 34.8253)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40A0 #40AD4D
analogous
#8440AD #AD40A0 #AD406A
triadic
#AD40A0 #A0AD40 #40A0AD
tetradic
#AD40A0 #AD8440 #40AD4D #406AAD
square
#AD40A0 #AD8440 #40AD4D #406AAD
split-complementary
#AD40A0 #6AAD40 #40AD84
monochromatic
#541F4D #802F77 #AD40A0 #C664BA #D691CE

Accessibility & contrast

On white

5.23
#AD40A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AD40A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40A0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40A0#FFFFFF#000000##FFFFFF
##AD40A01.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#B4496A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ad40a0;
/* rgb */ color: rgb(173, 64, 160);
/* oklch */ color: oklch(55.6% 0.181 332.7);
Tailwind
colors: {
  custom: {
    50: '#c87cbc',
    500: '#ad40a0',
    950: '#000000',
  },
}
SCSS
$custom: #ad40a0;
$custom-light: #c87cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40a0",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 307.156,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.18077,
    "h": 332.7
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#AD40A0
secondary
#87C28E
accent
#D66252
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AD40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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