#AD45E2#AD45E2

#AD45E2 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.0% C 0.233 H 311.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AD45E2
RGBrgb(173, 69, 226)
HSLhsl(280, 73%, 58%)
HSVhsv(280, 69%, 89%)
CMYKcmyk(23.5%, 69.5%, 0%, 11.4%)
CIE-LABlab(50.25, 66.15, -61.44)
CIE-LCHlch(50.25, 90.28, 317.11°)
OKLaboklab(60.04% 0.1549 -0.1736)
OKLCHoklch(60.04% 0.233 311.7)
XYZxyz(33.0866, 18.6323, 73.7902)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45E2 #7AE245
analogous
#5E45E2 #AD45E2 #E245C9
triadic
#AD45E2 #E2AD45 #45E2AD
tetradic
#AD45E2 #E25E45 #7AE245 #45C9E2
square
#AD45E2 #E25E45 #7AE245 #45C9E2
split-complementary
#AD45E2 #C9E245 #45E25E
monochromatic
#6B1795 #9120CA #AD45E2 #C47AEA #DCAFF3

Accessibility & contrast

On white

4.44
#AD45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AD45E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45E2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45E2#FFFFFF#000000##000000
##AD45E21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#327ADF
Tritanopia (blue-blind)
#A7678F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ad45e2;
/* rgb */ color: rgb(173, 69, 226);
/* oklch */ color: oklch(60.0% 0.233 311.7);
Tailwind
colors: {
  custom: {
    50: '#ca81ec',
    500: '#ad45e2',
    950: '#000000',
  },
}
SCSS
$custom: #ad45e2;
$custom-light: #ca81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45e2",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 279.745,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.23265,
    "h": 311.7
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#AD45E2
secondary
#B7E1A2
accent
#F03876
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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