#AA77FE#AA77FE

#AA77FE is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.194 H 298.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AA77FE
RGBrgb(170, 119, 254)
HSLhsl(263, 99%, 73%)
HSVhsv(263, 53%, 100%)
CMYKcmyk(33.1%, 53.1%, 0%, 0.4%)
CIE-LABlab(60.69, 47.42, -60.33)
CIE-LCHlch(60.69, 76.73, 308.17°)
OKLaboklab(68.09% 0.0928 -0.1706)
OKLCHoklch(68.09% 0.194 298.5)
XYZxyz(41.0594, 28.8950, 97.1608)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77FE #CBFE77
analogous
#7787FE #AA77FE #EE77FE
triadic
#AA77FE #FEAA77 #77FEAA
tetradic
#AA77FE #FE7787 #CBFE77 #77FEEE
square
#AA77FE #FE7787 #CBFE77 #77FEEE
split-complementary
#AA77FE #FEEE77 #87FE77
monochromatic
#5F02F9 #843AFE #AA77FE #D0B4FE #ECE1FF

Accessibility & contrast

On white

3.10
#AA77FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AA77FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77FE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77FE#FFFFFF#000000##000000
##AA77FE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#9892AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa77fe;
/* rgb */ color: rgb(170, 119, 254);
/* oklch */ color: oklch(68.1% 0.194 298.5);
Tailwind
colors: {
  custom: {
    50: '#c7a0ff',
    500: '#aa77fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa77fe;
$custom-light: #c7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77fe",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 262.667,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.19419,
    "h": 298.5
  },
  "luminance": 0.28895
}

Semantic roles & 50–950 ramp

primary
#AA77FE
secondary
#EAF7D4
accent
#E6008F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AA77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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