#AD45C2#AD45C2

#AD45C2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.203 H 320.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AD45C2
RGBrgb(173, 69, 194)
HSLhsl(290, 51%, 52%)
HSVhsv(290, 64%, 76%)
CMYKcmyk(10.8%, 64.4%, 0%, 23.9%)
CIE-LABlab(48.31, 59.80, -46.24)
CIE-LCHlch(48.31, 75.59, 322.29°)
OKLaboklab(58.02% 0.1567 -0.1291)
OKLCHoklch(58.02% 0.203 320.5)
XYZxyz(29.0981, 17.0369, 52.7842)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45C2 #5AC245
analogous
#6F45C2 #AD45C2 #C24599
triadic
#AD45C2 #C2AD45 #45C2AD
tetradic
#AD45C2 #C26F45 #5AC245 #4599C2
square
#AD45C2 #C26F45 #5AC245 #4599C2
split-complementary
#AD45C2 #99C245 #45C26F
monochromatic
#5E236A #873298 #AD45C2 #C173D1 #D6A1E0

Accessibility & contrast

On white

4.76
#AD45C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AD45C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD45C2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45C2#FFFFFF#000000##FFFFFF
##AD45C21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#5176BF
Tritanopia (blue-blind)
#AE5A7E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad45c2;
/* rgb */ color: rgb(173, 69, 194);
/* oklch */ color: oklch(58.0% 0.203 320.5);
Tailwind
colors: {
  custom: {
    50: '#c980d5',
    500: '#ad45c2',
    950: '#000000',
  },
}
SCSS
$custom: #ad45c2;
$custom-light: #c980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45c2",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 289.92,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.20301,
    "h": 320.5
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#AD45C2
secondary
#9FCD96
accent
#DA4E65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AD45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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