#AD45A6#AD45A6

#AD45A6 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.178 H 330.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AD45A6
RGBrgb(173, 69, 166)
HSLhsl(304, 43%, 47%)
HSVhsv(304, 60%, 68%)
CMYKcmyk(0%, 60.1%, 4%, 32.2%)
CIE-LABlab(46.84, 54.74, -32.17)
CIE-LCHlch(46.84, 63.49, 329.56°)
OKLaboklab(56.47% 0.1551 -0.0883)
OKLCHoklch(56.47% 0.178 330.3)
XYZxyz(26.2445, 15.8955, 37.7548)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45A6 #45AD4C
analogous
#8045AD #AD45A6 #AD4572
triadic
#AD45A6 #A6AD45 #45A6AD
tetradic
#AD45A6 #AD8045 #45AD4C #4572AD
square
#AD45A6 #AD8045 #45AD4C #4572AD
split-complementary
#AD45A6 #72AD45 #45AD80
monochromatic
#552252 #81347C #AD45A6 #C46BBE #D597D1

Accessibility & contrast

On white

5.03
#AD45A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AD45A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD45A6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45A6#FFFFFF#000000##FFFFFF
##AD45A61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#B34F6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad45a6;
/* rgb */ color: rgb(173, 69, 166);
/* oklch */ color: oklch(56.5% 0.178 330.3);
Tailwind
colors: {
  custom: {
    50: '#c87fc1',
    500: '#ad45a6',
    950: '#000000',
  },
}
SCSS
$custom: #ad45a6;
$custom-light: #c87fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45a6",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 304.038,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.17847,
    "h": 330.3
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#AD45A6
secondary
#8CC190
accent
#D35E55
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AD45A6

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

Preview Lab → · Contrast checker → · Palette generator →

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