#AA77EA#AA77EA

#AA77EA is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.170 H 302.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AA77EA
RGBrgb(170, 119, 234)
HSLhsl(267, 73%, 69%)
HSVhsv(267, 49%, 92%)
CMYKcmyk(27.4%, 49.1%, 0%, 8.2%)
CIE-LABlab(59.60, 42.56, -51.00)
CIE-LCHlch(59.60, 66.42, 309.84°)
OKLaboklab(66.93% 0.0914 -0.1433)
OKLCHoklch(66.93% 0.17 302.5)
XYZxyz(38.0224, 27.6802, 81.1656)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77EA #B7EA77
analogous
#777EEA #AA77EA #E477EA
triadic
#AA77EA #EAAA77 #77EAAA
tetradic
#AA77EA #EA777E #B7EA77 #77EAE4
square
#AA77EA #EA777E #B7EA77 #77EAE4
split-complementary
#AA77EA #EAE477 #7EEA77
monochromatic
#6A1FC8 #8942E2 #AA77EA #CBACF2 #ECE1FA

Accessibility & contrast

On white

3.21
#AA77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AA77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77EA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77EA#FFFFFF#000000##000000
##AA77EA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#618FE7
Tritanopia (blue-blind)
#9E8CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa77ea;
/* rgb */ color: rgb(170, 119, 234);
/* oklch */ color: oklch(66.9% 0.170 302.5);
Tailwind
colors: {
  custom: {
    50: '#c69ff1',
    500: '#aa77ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa77ea;
$custom-light: #c69ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77ea",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 266.609,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66927,
    "c": 0.16995,
    "h": 302.5
  },
  "luminance": 0.2768
}

Semantic roles & 50–950 ramp

primary
#AA77EA
secondary
#E0EFCE
accent
#D5107E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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