#AD56EB#AD56EB

#AD56EB is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.220 H 308.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AD56EB
RGBrgb(173, 86, 235)
HSLhsl(275, 79%, 63%)
HSVhsv(275, 63%, 92%)
CMYKcmyk(26.4%, 63.4%, 0%, 7.8%)
CIE-LABlab(53.53, 60.55, -61.23)
CIE-LCHlch(53.53, 86.11, 314.68°)
OKLaboklab(62.57% 0.1359 -0.1731)
OKLCHoklch(62.57% 0.22 308.2)
XYZxyz(35.5537, 21.5385, 80.8655)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD56EB #94EB56
analogous
#6356EB #AD56EB #EB56DE
triadic
#AD56EB #EBAD56 #56EBAD
tetradic
#AD56EB #EB6356 #94EB56 #56DEEB
square
#AD56EB #EB6356 #94EB56 #56DEEB
split-complementary
#AD56EB #DEEB56 #56EB63
monochromatic
#7015B2 #921FE5 #AD56EB #C88DF1 #E2C3F8

Accessibility & contrast

On white

3.96
#AD56EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AD56EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD56EB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD56EB#FFFFFF#000000##000000
##AD56EB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#A47599
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ad56eb;
/* rgb */ color: rgb(173, 86, 235);
/* oklch */ color: oklch(62.6% 0.220 308.2);
Tailwind
colors: {
  custom: {
    50: '#ca8bf2',
    500: '#ad56eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad56eb;
$custom-light: #ca8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad56eb",
  "rgb": {
    "r": 173,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 275.034,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62571,
    "c": 0.22007,
    "h": 308.2
  },
  "luminance": 0.21538
}

Semantic roles & 50–950 ramp

primary
#AD56EB
secondary
#CAE9B4
accent
#DB0A61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AD56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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