#AA77EC#AA77EC

#AA77EC is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.172 H 302.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AA77EC
RGBrgb(170, 119, 236)
HSLhsl(266, 75%, 70%)
HSVhsv(266, 50%, 93%)
CMYKcmyk(28%, 49.6%, 0%, 7.5%)
CIE-LABlab(59.70, 43.04, -51.95)
CIE-LCHlch(59.70, 67.46, 309.64°)
OKLaboklab(67.04% 0.0916 -0.146)
OKLCHoklch(67.04% 0.172 302.1)
XYZxyz(38.3113, 27.7958, 82.6874)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77EC #B9EC77
analogous
#777FEC #AA77EC #E577EC
triadic
#AA77EC #ECAA77 #77ECAA
tetradic
#AA77EC #EC777F #B9EC77 #77ECE5
square
#AA77EC #EC777F #B9EC77 #77ECE5
split-complementary
#AA77EC #ECE577 #7FEC77
monochromatic
#691DCC #8841E4 #AA77EC #CCADF4 #EDE2FB

Accessibility & contrast

On white

3.20
#AA77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AA77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77EC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77EC#FFFFFF#000000##000000
##AA77EC1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#9E8CA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa77ec;
/* rgb */ color: rgb(170, 119, 236);
/* oklch */ color: oklch(67.0% 0.172 302.1);
Tailwind
colors: {
  custom: {
    50: '#c69ff3',
    500: '#aa77ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa77ec;
$custom-light: #c69ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77ec",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 266.154,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6704,
    "c": 0.17238,
    "h": 302.1
  },
  "luminance": 0.27796
}

Semantic roles & 50–950 ramp

primary
#AA77EC
secondary
#E2F0CF
accent
#D80E80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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