#AA77FA#AA77FA

#AA77FA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.189 H 299.3°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AA77FA
RGBrgb(170, 119, 250)
HSLhsl(263, 93%, 72%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(32%, 52.4%, 0%, 2%)
CIE-LABlab(60.46, 46.43, -58.48)
CIE-LCHlch(60.46, 74.67, 308.45°)
OKLaboklab(67.85% 0.0926 -0.1652)
OKLCHoklch(67.85% 0.189 299.3)
XYZxyz(40.4256, 28.6415, 93.8225)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77FA #C7FA77
analogous
#7785FA #AA77FA #EC77FA
triadic
#AA77FA #FAAA77 #77FAAA
tetradic
#AA77FA #FA7785 #C7FA77 #77FAEC
square
#AA77FA #FA7785 #C7FA77 #77FAEC
split-complementary
#AA77FA #FAEC77 #85FA77
monochromatic
#6209EE #853CF8 #AA77FA #CFB2FC #EDE1FE

Accessibility & contrast

On white

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

On black

6.73
#AA77FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77FA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77FA#FFFFFF#000000##000000
##AA77FA1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#9991AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa77fa;
/* rgb */ color: rgb(170, 119, 250);
/* oklch */ color: oklch(67.8% 0.189 299.3);
Tailwind
colors: {
  custom: {
    50: '#c79ffc',
    500: '#aa77fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa77fa;
$custom-light: #c79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77fa",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 263.359,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.18937,
    "h": 299.3
  },
  "luminance": 0.28642
}

Semantic roles & 50–950 ramp

primary
#AA77FA
secondary
#E9F6D5
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AA77FA

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

Preview Lab → · Contrast checker → · Palette generator →

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