#AD77EC#AD77EC

#AD77EC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.173 H 303.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AD77EC
RGBrgb(173, 119, 236)
HSLhsl(268, 75%, 70%)
HSVhsv(268, 50%, 93%)
CMYKcmyk(26.7%, 49.6%, 0%, 7.5%)
CIE-LABlab(60.01, 43.81, -51.44)
CIE-LCHlch(60.01, 67.57, 310.42°)
OKLaboklab(67.34% 0.0952 -0.1445)
OKLCHoklch(67.34% 0.173 303.4)
XYZxyz(38.9674, 28.1341, 82.7181)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD77EC #B6EC77
analogous
#777CEC #AD77EC #E777EC
triadic
#AD77EC #ECAD77 #77ECAD
tetradic
#AD77EC #EC777C #B6EC77 #77ECE7
square
#AD77EC #EC777C #B6EC77 #77ECE7
split-complementary
#AD77EC #ECE777 #7CEC77
monochromatic
#6E1DCC #8D41E4 #AD77EC #CDADF4 #EEE2FB

Accessibility & contrast

On white

3.17
#AD77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AD77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD77EC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD77EC#FFFFFF#000000##000000
##AD77EC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#6290E9
Tritanopia (blue-blind)
#A28CA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ad77ec;
/* rgb */ color: rgb(173, 119, 236);
/* oklch */ color: oklch(67.3% 0.173 303.4);
Tailwind
colors: {
  custom: {
    50: '#c89ff3',
    500: '#ad77ec',
    950: '#000000',
  },
}
SCSS
$custom: #ad77ec;
$custom-light: #c89ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad77ec",
  "rgb": {
    "r": 173,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 267.692,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67338,
    "c": 0.17305,
    "h": 303.4
  },
  "luminance": 0.28134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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