#AA77F8#AA77F8

#AA77F8 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.187 H 299.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AA77F8
RGBrgb(170, 119, 248)
HSLhsl(264, 90%, 72%)
HSVhsv(264, 52%, 97%)
CMYKcmyk(31.5%, 52%, 0%, 2.7%)
CIE-LABlab(60.35, 45.94, -57.56)
CIE-LCHlch(60.35, 73.64, 308.60°)
OKLaboklab(67.73% 0.0925 -0.1625)
OKLCHoklch(67.73% 0.187 299.7)
XYZxyz(40.1136, 28.5167, 92.1797)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77F8 #C5F877
analogous
#7785F8 #AA77F8 #EB77F8
triadic
#AA77F8 #F8AA77 #77F8AA
tetradic
#AA77F8 #F87785 #C5F877 #77F8EB
square
#AA77F8 #F87785 #C5F877 #77F8EB
split-complementary
#AA77F8 #F8EB77 #85F877
monochromatic
#630CE9 #863DF5 #AA77F8 #CEB1FB #EDE2FE

Accessibility & contrast

On white

3.13
#AA77F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AA77F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77F8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77F8#FFFFFF#000000##000000
##AA77F81.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#9A90AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa77f8;
/* rgb */ color: rgb(170, 119, 248);
/* oklch */ color: oklch(67.7% 0.187 299.7);
Tailwind
colors: {
  custom: {
    50: '#c79ffb',
    500: '#aa77f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa77f8;
$custom-light: #c79ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77f8",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 263.721,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.18695,
    "h": 299.7
  },
  "luminance": 0.28517
}

Semantic roles & 50–950 ramp

primary
#AA77F8
secondary
#E9F6D5
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA77F8

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

Preview Lab → · Contrast checker → · Palette generator →

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