#AD45D2#AD45D2

#AD45D2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.218 H 315.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AD45D2
RGBrgb(173, 69, 210)
HSLhsl(284, 61%, 55%)
HSVhsv(284, 67%, 82%)
CMYKcmyk(17.6%, 67.1%, 0%, 17.6%)
CIE-LABlab(49.25, 62.91, -53.95)
CIE-LCHlch(49.25, 82.88, 319.38°)
OKLaboklab(58.99% 0.1563 -0.1516)
OKLCHoklch(58.99% 0.218 315.9)
XYZxyz(30.9927, 17.7948, 62.7624)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45D2 #6AD245
analogous
#6645D2 #AD45D2 #D245B1
triadic
#AD45D2 #D2AD45 #45D2AD
tetradic
#AD45D2 #D26645 #6AD245 #45B1D2
square
#AD45D2 #D26645 #6AD245 #45B1D2
split-complementary
#AD45D2 #B1D245 #45D266
monochromatic
#651F7E #8C2AAF #AD45D2 #C376DE #D8A8EA

Accessibility & contrast

On white

4.61
#AD45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AD45D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AD45D2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45D2#FFFFFF#000000##FFFFFF
##AD45D21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#AB6086
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad45d2;
/* rgb */ color: rgb(173, 69, 210);
/* oklch */ color: oklch(59.0% 0.218 315.9);
Tailwind
colors: {
  custom: {
    50: '#c980e0',
    500: '#ad45d2',
    950: '#000000',
  },
}
SCSS
$custom: #ad45d2;
$custom-light: #c980e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45d2",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 284.255,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.21772,
    "h": 315.9
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#AD45D2
secondary
#ABD79C
accent
#E4446E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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