#AD45E1#AD45E1

#AD45E1 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.232 H 312.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AD45E1
RGBrgb(173, 69, 225)
HSLhsl(280, 72%, 58%)
HSVhsv(280, 69%, 88%)
CMYKcmyk(23.1%, 69.3%, 0%, 11.8%)
CIE-LABlab(50.19, 65.94, -60.98)
CIE-LCHlch(50.19, 89.82, 317.24°)
OKLaboklab(59.97% 0.155 -0.1722)
OKLCHoklch(59.97% 0.232 312)
XYZxyz(32.9498, 18.5776, 73.0697)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45E1 #79E145
analogous
#5F45E1 #AD45E1 #E145C7
triadic
#AD45E1 #E1AD45 #45E1AD
tetradic
#AD45E1 #E15F45 #79E145 #45C7E1
square
#AD45E1 #E15F45 #79E145 #45C7E1
split-complementary
#AD45E1 #C7E145 #45E15F
monochromatic
#6A1894 #9020C8 #AD45E1 #C47AE9 #DBAEF2

Accessibility & contrast

On white

4.45
#AD45E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AD45E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45E1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45E1#FFFFFF#000000##000000
##AD45E11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#3379DE
Tritanopia (blue-blind)
#A7668E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ad45e1;
/* rgb */ color: rgb(173, 69, 225);
/* oklch */ color: oklch(60.0% 0.232 312.0);
Tailwind
colors: {
  custom: {
    50: '#ca81eb',
    500: '#ad45e1',
    950: '#000000',
  },
}
SCSS
$custom: #ad45e1;
$custom-light: #ca81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45e1",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 280,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.23171,
    "h": 312
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#AD45E1
secondary
#B6E0A2
accent
#EF3976
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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