#AA77CC#AA77CC

#AA77CC is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.4% C 0.133 H 310.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA77CC
RGBrgb(170, 119, 204)
HSLhsl(276, 45%, 63%)
HSVhsv(276, 42%, 80%)
CMYKcmyk(16.7%, 41.7%, 0%, 20%)
CIE-LABlab(58.13, 35.65, -36.48)
CIE-LCHlch(58.13, 51.01, 314.34°)
OKLaboklab(65.35% 0.0871 -0.1011)
OKLCHoklch(65.35% 0.133 310.8)
XYZxyz(34.0715, 26.0999, 60.3579)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA77CC #99CC77
analogous
#7F77CC #AA77CC #CC77C3
triadic
#AA77CC #CCAA77 #77CCAA
tetradic
#AA77CC #CC7F77 #99CC77 #77C3CC
square
#AA77CC #CC7F77 #99CC77 #77C3CC
split-complementary
#AA77CC #C3CC77 #77CC7F
monochromatic
#6D3792 #8E4ABB #AA77CC #C6A4DD #E2D0ED

Accessibility & contrast

On white

3.38
#AA77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AA77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA77CC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA77CC#FFFFFF#000000##000000
##AA77CC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#A68498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa77cc;
/* rgb */ color: rgb(170, 119, 204);
/* oklch */ color: oklch(65.4% 0.133 310.8);
Tailwind
colors: {
  custom: {
    50: '#c59fdc',
    500: '#aa77cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa77cc;
$custom-light: #c59fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa77cc",
  "rgb": {
    "r": 170,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 276,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65351,
    "c": 0.13349,
    "h": 310.8
  },
  "luminance": 0.26099
}

Semantic roles & 50–950 ramp

primary
#AA77CC
secondary
#CCDFC0
accent
#B92D65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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