#AD45EC#AD45EC

#AD45EC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.7% C 0.242 H 309.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AD45EC
RGBrgb(173, 69, 236)
HSLhsl(277, 81%, 60%)
HSVhsv(277, 71%, 93%)
CMYKcmyk(26.7%, 70.8%, 0%, 7.5%)
CIE-LABlab(50.92, 68.23, -66.02)
CIE-LCHlch(50.92, 94.94, 315.94°)
OKLaboklab(60.72% 0.1536 -0.187)
OKLCHoklch(60.72% 0.242 309.4)
XYZxyz(34.4990, 19.1973, 81.2287)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD45EC #84EC45
analogous
#5945EC #AD45EC #EC45D8
triadic
#AD45EC #ECAD45 #45ECAD
tetradic
#AD45EC #EC5945 #84EC45 #45D8EC
square
#AD45EC #EC5945 #84EC45 #45D8EC
split-complementary
#AD45EC #D8EC45 #45EC59
monochromatic
#6E11A6 #9217DD #AD45EC #C57DF2 #DEB4F7

Accessibility & contrast

On white

4.34
#AD45EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AD45EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD45EC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD45EC#FFFFFF#000000##000000
##AD45EC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#1F7BE8
Tritanopia (blue-blind)
#A46B94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ad45ec;
/* rgb */ color: rgb(173, 69, 236);
/* oklch */ color: oklch(60.7% 0.242 309.4);
Tailwind
colors: {
  custom: {
    50: '#ca81f3',
    500: '#ad45ec',
    950: '#000000',
  },
}
SCSS
$custom: #ad45ec;
$custom-light: #ca81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad45ec",
  "rgb": {
    "r": 173,
    "g": 69,
    "b": 236
  },
  "hsl": {
    "h": 277.365,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.24204,
    "h": 309.4
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#AD45EC
secondary
#BEE7A6
accent
#F8307B
background
#FDF8FF
surface
#FAEFFE
border
#D3CAD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #AD45EC

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

Preview Lab → · Contrast checker → · Palette generator →

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