#AD56EC#AD56EC

#AD56EC is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.221 H 307.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AD56EC
RGBrgb(173, 86, 236)
HSLhsl(275, 80%, 63%)
HSVhsv(275, 64%, 93%)
CMYKcmyk(26.7%, 63.6%, 0%, 7.5%)
CIE-LABlab(53.60, 60.77, -61.69)
CIE-LCHlch(53.60, 86.60, 314.57°)
OKLaboklab(62.64% 0.1359 -0.1744)
OKLCHoklch(62.64% 0.221 307.9)
XYZxyz(35.6986, 21.5964, 81.6285)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD56EC #95EC56
analogous
#6256EC #AD56EC #EC56E0
triadic
#AD56EC #ECAD56 #56ECAD
tetradic
#AD56EC #EC6256 #95EC56 #56E0EC
square
#AD56EC #EC6256 #95EC56 #56E0EC
split-complementary
#AD56EC #E0EC56 #56EC62
monochromatic
#7114B3 #921FE6 #AD56EC #C88DF2 #E2C4F8

Accessibility & contrast

On white

3.95
#AD56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AD56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD56EC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD56EC#FFFFFF#000000##000000
##AD56EC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#3A81E9
Tritanopia (blue-blind)
#A3759A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ad56ec;
/* rgb */ color: rgb(173, 86, 236);
/* oklch */ color: oklch(62.6% 0.221 307.9);
Tailwind
colors: {
  custom: {
    50: '#ca8bf3',
    500: '#ad56ec',
    950: '#000000',
  },
}
SCSS
$custom: #ad56ec;
$custom-light: #ca8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad56ec",
  "rgb": {
    "r": 173,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 274.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62636,
    "c": 0.2211,
    "h": 307.9
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#AD56EC
secondary
#CBEAB4
accent
#DC0962
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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