#AD45D9#AD45D9

#AD45D9 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.224 H 314.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AD45D9
RGBrgb(173, 69, 217)
HSLhsl(282, 66%, 56%)
HSVhsv(282, 68%, 85%)
CMYKcmyk(20.3%, 68.2%, 0%, 14.9%)
CIE-LABlab(49.68, 64.32, -57.26)
CIE-LCHlch(49.68, 86.11, 318.32°)
OKLaboklab(59.44% 0.1558 -0.1613)
OKLCHoklch(59.44% 0.224 314)
XYZxyz(31.8840, 18.1513, 67.4562)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45D9 #71D945
analogous
#6345D9 #AD45D9 #D945BB
triadic
#AD45D9 #D9AD45 #45D9AD
tetradic
#AD45D9 #D96345 #71D945 #45BBD9
square
#AD45D9 #D96345 #71D945 #45BBD9
split-complementary
#AD45D9 #BBD945 #45D963
monochromatic
#681C88 #8F26BB #AD45D9 #C378E3 #DAABEE

Accessibility & contrast

On white

4.54
#AD45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AD45D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45D9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45D9#FFFFFF#000000##000000
##AD45D91.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#A9638A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ad45d9;
/* rgb */ color: rgb(173, 69, 217);
/* oklch */ color: oklch(59.4% 0.224 314.0);
Tailwind
colors: {
  custom: {
    50: '#c981e5',
    500: '#ad45d9',
    950: '#000000',
  },
}
SCSS
$custom: #ad45d9;
$custom-light: #c981e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45d9",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 282.162,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.22423,
    "h": 314
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#AD45D9
secondary
#B1DB9E
accent
#E93F71
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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