#AA77FB#AA77FB

#AA77FB is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.191 H 299.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AA77FB
RGBrgb(170, 119, 251)
HSLhsl(263, 94%, 73%)
HSVhsv(263, 53%, 98%)
CMYKcmyk(32.3%, 52.6%, 0%, 1.6%)
CIE-LABlab(60.52, 46.68, -58.95)
CIE-LCHlch(60.52, 75.19, 308.38°)
OKLaboklab(67.91% 0.0927 -0.1665)
OKLCHoklch(67.91% 0.191 299.1)
XYZxyz(40.5828, 28.7044, 94.6505)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77FB #C8FB77
analogous
#7786FB #AA77FB #EC77FB
triadic
#AA77FB #FBAA77 #77FBAA
tetradic
#AA77FB #FB7786 #C8FB77 #77FBEC
square
#AA77FB #FB7786 #C8FB77 #77FBEC
split-complementary
#AA77FB #FBEC77 #86FB77
monochromatic
#6107F1 #853CF9 #AA77FB #CFB2FD #ECE1FE

Accessibility & contrast

On white

3.12
#AA77FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#AA77FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77FB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77FB#FFFFFF#000000##000000
##AA77FB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#9991AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa77fb;
/* rgb */ color: rgb(170, 119, 251);
/* oklch */ color: oklch(67.9% 0.191 299.1);
Tailwind
colors: {
  custom: {
    50: '#c79ffd',
    500: '#aa77fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa77fb;
$custom-light: #c79ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77fb",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 263.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.19058,
    "h": 299.1
  },
  "luminance": 0.28705
}

Semantic roles & 50–950 ramp

primary
#AA77FB
secondary
#E9F6D5
accent
#E6008D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AA77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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