#AD40A3#AD40A3

#AD40A3 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.183 H 331.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AD40A3
RGBrgb(173, 64, 163)
HSLhsl(306, 46%, 46%)
HSVhsv(306, 63%, 68%)
CMYKcmyk(0%, 63%, 5.8%, 32.2%)
CIE-LABlab(45.90, 56.40, -31.85)
CIE-LCHlch(45.90, 64.78, 330.55°)
OKLaboklab(55.74% 0.161 -0.0873)
OKLCHoklch(55.74% 0.183 331.5)
XYZxyz(25.6778, 15.1973, 36.2242)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40A3 #40AD4A
analogous
#8140AD #AD40A3 #AD406D
triadic
#AD40A3 #A3AD40 #40A3AD
tetradic
#AD40A3 #AD8140 #40AD4A #406DAD
square
#AD40A3 #AD8140 #40AD4A #406DAD
split-complementary
#AD40A3 #6DAD40 #40AD81
monochromatic
#541F4F #802F79 #AD40A3 #C664BD #D691D0

Accessibility & contrast

On white

5.20
#AD40A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AD40A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40A3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40A3#FFFFFF#000000##FFFFFF
##AD40A31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#B44A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ad40a3;
/* rgb */ color: rgb(173, 64, 163);
/* oklch */ color: oklch(55.7% 0.183 331.5);
Tailwind
colors: {
  custom: {
    50: '#c87cbe',
    500: '#ad40a3',
    950: '#000000',
  },
}
SCSS
$custom: #ad40a3;
$custom-light: #c87cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40a3",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 305.505,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.18317,
    "h": 331.5
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#AD40A3
secondary
#87C28D
accent
#D65E52
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AD40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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