#AD45E6#AD45E6

#AD45E6 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.3% C 0.236 H 310.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AD45E6
RGBrgb(173, 69, 230)
HSLhsl(279, 76%, 59%)
HSVhsv(279, 70%, 90%)
CMYKcmyk(24.8%, 70%, 0%, 9.8%)
CIE-LABlab(50.52, 66.98, -63.28)
CIE-LCHlch(50.52, 92.14, 316.62°)
OKLaboklab(60.31% 0.1544 -0.179)
OKLCHoklch(60.31% 0.236 310.8)
XYZxyz(33.6419, 18.8544, 76.7146)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45E6 #7EE645
analogous
#5C45E6 #AD45E6 #E645CE
triadic
#AD45E6 #E6AD45 #45E6AD
tetradic
#AD45E6 #E65C45 #7EE645 #45CEE6
square
#AD45E6 #E65C45 #7EE645 #45CEE6
split-complementary
#AD45E6 #CEE645 #45E65C
monochromatic
#6C159C #911CD2 #AD45E6 #C57BED #DDB1F5

Accessibility & contrast

On white

4.40
#AD45E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AD45E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45E6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45E6#FFFFFF#000000##000000
##AD45E61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2B7AE2
Tritanopia (blue-blind)
#A56891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ad45e6;
/* rgb */ color: rgb(173, 69, 230);
/* oklch */ color: oklch(60.3% 0.236 310.8);
Tailwind
colors: {
  custom: {
    50: '#ca81ef',
    500: '#ad45e6',
    950: '#000000',
  },
}
SCSS
$custom: #ad45e6;
$custom-light: #ca81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45e6",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 278.758,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.2364,
    "h": 310.8
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#AD45E6
secondary
#BAE3A4
accent
#F33578
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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