#AD78EB#AD78EB

#AD78EB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.170 H 303.4°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AD78EB
RGBrgb(173, 120, 235)
HSLhsl(268, 74%, 70%)
HSVhsv(268, 49%, 92%)
CMYKcmyk(26.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(60.17, 43.03, -50.63)
CIE-LCHlch(60.17, 66.44, 310.36°)
OKLaboklab(67.44% 0.0938 -0.1421)
OKLCHoklch(67.44% 0.17 303.4)
XYZxyz(38.9422, 28.3154, 81.9950)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD78EB #B6EB78
analogous
#787DEB #AD78EB #E778EB
triadic
#AD78EB #EBAD78 #78EBAD
tetradic
#AD78EB #EB787D #B6EB78 #78EBE7
square
#AD78EB #EB787D #B6EB78 #78EBE7
split-complementary
#AD78EB #EBE778 #7DEB78
monochromatic
#6E1ECB #8D43E3 #AD78EB #CDADF3 #EEE3FB

Accessibility & contrast

On white

3.15
#AD78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AD78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD78EB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD78EB#FFFFFF#000000##000000
##AD78EB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#A28DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ad78eb;
/* rgb */ color: rgb(173, 120, 235);
/* oklch */ color: oklch(67.4% 0.170 303.4);
Tailwind
colors: {
  custom: {
    50: '#c8a0f2',
    500: '#ad78eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad78eb;
$custom-light: #c8a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad78eb",
  "rgb": {
    "r": 173,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 267.652,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67442,
    "c": 0.1703,
    "h": 303.4
  },
  "luminance": 0.28315
}

Semantic roles & 50–950 ramp

primary
#AD78EB
secondary
#E1F0CF
accent
#D60F7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AD78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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