#AA77FC#AA77FC

#AA77FC is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.192 H 298.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AA77FC
RGBrgb(170, 119, 252)
HSLhsl(263, 96%, 73%)
HSVhsv(263, 53%, 99%)
CMYKcmyk(32.5%, 52.8%, 0%, 1.2%)
CIE-LABlab(60.58, 46.92, -59.41)
CIE-LCHlch(60.58, 75.70, 308.30°)
OKLaboklab(67.97% 0.0927 -0.1679)
OKLCHoklch(67.97% 0.192 298.9)
XYZxyz(40.7408, 28.7676, 95.4829)
Luminance0.2877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77FC #C9FC77
analogous
#7786FC #AA77FC #ED77FC
triadic
#AA77FC #FCAA77 #77FCAA
tetradic
#AA77FC #FC7786 #C9FC77 #77FCED
square
#AA77FC #FC7786 #C9FC77 #77FCED
split-complementary
#AA77FC #FCED77 #86FC77
monochromatic
#6105F3 #853BFB #AA77FC #CFB3FD #ECE1FE

Accessibility & contrast

On white

3.11
#AA77FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#AA77FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77FC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77FC#FFFFFF#000000##000000
##AA77FC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#9991AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa77fc;
/* rgb */ color: rgb(170, 119, 252);
/* oklch */ color: oklch(68.0% 0.192 298.9);
Tailwind
colors: {
  custom: {
    50: '#c79ffe',
    500: '#aa77fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa77fc;
$custom-light: #c79ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77fc",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 263.008,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67969,
    "c": 0.19178,
    "h": 298.9
  },
  "luminance": 0.28768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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