#AA77DD#AA77DD

#AA77DD is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.154 H 305.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AA77DD
RGBrgb(170, 119, 221)
HSLhsl(270, 60%, 67%)
HSVhsv(270, 46%, 87%)
CMYKcmyk(23.1%, 46.2%, 0%, 13.3%)
CIE-LABlab(58.94, 39.50, -44.79)
CIE-LCHlch(58.94, 59.72, 311.41°)
OKLaboklab(66.22% 0.0899 -0.1252)
OKLCHoklch(66.22% 0.154 305.7)
XYZxyz(36.2228, 26.9604, 71.6882)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77DD #AADD77
analogous
#7777DD #AA77DD #DD77DD
triadic
#AA77DD #DDAA77 #77DDAA
tetradic
#AA77DD #DD7777 #AADD77 #77DDDD
square
#AA77DD #DD7777 #AADD77 #77DDDD
split-complementary
#AA77DD #DDDD77 #77DD77
monochromatic
#6D2CAE #8B46D1 #AA77DD #C9A8E9 #E7D9F5

Accessibility & contrast

On white

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

On black

6.39
#AA77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77DD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77DD#FFFFFF#000000##000000
##AA77DD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE1
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#A288A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa77dd;
/* rgb */ color: rgb(170, 119, 221);
/* oklch */ color: oklch(66.2% 0.154 305.7);
Tailwind
colors: {
  custom: {
    50: '#c59fe8',
    500: '#aa77dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa77dd;
$custom-light: #c59fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77dd",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66219,
    "c": 0.15411,
    "h": 305.7
  },
  "luminance": 0.2696
}

Semantic roles & 50–950 ramp

primary
#AA77DD
secondary
#D8E8C7
accent
#C81E73
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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