#AA77FF#AA77FF

#AA77FF is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.195 H 298.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AA77FF
RGBrgb(170, 119, 255)
HSLhsl(263, 100%, 73%)
HSVhsv(263, 53%, 100%)
CMYKcmyk(33.3%, 53.3%, 0%, 0%)
CIE-LABlab(60.75, 47.67, -60.79)
CIE-LCHlch(60.75, 77.25, 308.10°)
OKLaboklab(68.15% 0.0929 -0.1719)
OKLCHoklch(68.15% 0.195 298.4)
XYZxyz(41.2200, 28.9592, 98.0064)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77FF #CCFF77
analogous
#7788FF #AA77FF #EE77FF
triadic
#AA77FF #FFAA77 #77FFAA
tetradic
#AA77FF #FF7788 #CCFF77 #77FFEE
square
#AA77FF #FF7788 #CCFF77 #77FFEE
split-complementary
#AA77FF #FFEE77 #88FF77
monochromatic
#5E00FC #843AFF #AA77FF #D0B4FF #ECE0FF

Accessibility & contrast

On white

3.09
#AA77FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AA77FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77FF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77FF#FFFFFF#000000##000000
##AA77FF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4093FF
Deuteranopia (green-blind)
#4F91FC
Tritanopia (blue-blind)
#9892B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa77ff;
/* rgb */ color: rgb(170, 119, 255);
/* oklch */ color: oklch(68.1% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#c7a0ff',
    500: '#aa77ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa77ff;
$custom-light: #c7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77ff",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68149,
    "c": 0.19539,
    "h": 298.4
  },
  "luminance": 0.2896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA77FF

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

Preview Lab → · Contrast checker → · Palette generator →

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