#AA77DC#AA77DC

#AA77DC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.2% C 0.153 H 305.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA77DC
RGBrgb(170, 119, 220)
HSLhsl(270, 59%, 66%)
HSVhsv(270, 46%, 86%)
CMYKcmyk(22.7%, 45.9%, 0%, 13.7%)
CIE-LABlab(58.89, 39.27, -44.30)
CIE-LCHlch(58.89, 59.20, 311.55°)
OKLaboklab(66.17% 0.0898 -0.1238)
OKLCHoklch(66.17% 0.153 305.9)
XYZxyz(36.0900, 26.9073, 70.9886)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77DC #A9DC77
analogous
#7877DC #AA77DC #DC77DC
triadic
#AA77DC #DCAA77 #77DCAA
tetradic
#AA77DC #DC7877 #A9DC77 #77DCDC
square
#AA77DC #DC7877 #A9DC77 #77DCDC
split-complementary
#AA77DC #DCDC77 #77DC78
monochromatic
#6D2CAC #8C46CF #AA77DC #C8A8E9 #E7D8F5

Accessibility & contrast

On white

3.29
#AA77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AA77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77DC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77DC#FFFFFF#000000##000000
##AA77DC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#A2889F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa77dc;
/* rgb */ color: rgb(170, 119, 220);
/* oklch */ color: oklch(66.2% 0.153 305.9);
Tailwind
colors: {
  custom: {
    50: '#c59fe7',
    500: '#aa77dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa77dc;
$custom-light: #c59fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77dc",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 270.297,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66166,
    "c": 0.15289,
    "h": 305.9
  },
  "luminance": 0.26907
}

Semantic roles & 50–950 ramp

primary
#AA77DC
secondary
#D7E8C7
accent
#C71F72
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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