#AA77EF#AA77EF

#AA77EF is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.176 H 301.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AA77EF
RGBrgb(170, 119, 239)
HSLhsl(266, 79%, 70%)
HSVhsv(266, 50%, 94%)
CMYKcmyk(28.9%, 50.2%, 0%, 6.3%)
CIE-LABlab(59.86, 43.76, -53.36)
CIE-LCHlch(59.86, 69.00, 309.35°)
OKLaboklab(67.21% 0.0919 -0.1502)
OKLCHoklch(67.21% 0.176 301.5)
XYZxyz(38.7508, 27.9716, 85.0022)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77EF #BCEF77
analogous
#7780EF #AA77EF #E677EF
triadic
#AA77EF #EFAA77 #77EFAA
tetradic
#AA77EF #EF7780 #BCEF77 #77EFE6
square
#AA77EF #EF7780 #BCEF77 #77EFE6
split-complementary
#AA77EF #EFE677 #80EF77
monochromatic
#6819D3 #8840E9 #AA77EF #CCAEF5 #EEE4FC

Accessibility & contrast

On white

3.18
#AA77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AA77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77EF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77EF#FFFFFF#000000##000000
##AA77EF1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#9D8DA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa77ef;
/* rgb */ color: rgb(170, 119, 239);
/* oklch */ color: oklch(67.2% 0.176 301.5);
Tailwind
colors: {
  custom: {
    50: '#c69ff5',
    500: '#aa77ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa77ef;
$custom-light: #c69ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77ef",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 265.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6721,
    "c": 0.17604,
    "h": 301.5
  },
  "luminance": 0.27972
}

Semantic roles & 50–950 ramp

primary
#AA77EF
secondary
#E3F2D0
accent
#DB0A82
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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