#AA76DC#AA76DC

#AA76DC is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.0% C 0.155 H 306.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AA76DC
RGBrgb(170, 118, 220)
HSLhsl(271, 59%, 66%)
HSVhsv(271, 46%, 86%)
CMYKcmyk(22.7%, 46.4%, 0%, 13.7%)
CIE-LABlab(58.67, 39.82, -44.65)
CIE-LCHlch(58.67, 59.83, 311.73°)
OKLaboklab(66% 0.0911 -0.1248)
OKLCHoklch(66% 0.155 306.1)
XYZxyz(35.9716, 26.6705, 70.9492)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA76DC #A8DC76
analogous
#7776DC #AA76DC #DC76DB
triadic
#AA76DC #DCAA76 #76DCAA
tetradic
#AA76DC #DC7776 #A8DC76 #76DBDC
square
#AA76DC #DC7776 #A8DC76 #76DBDC
split-complementary
#AA76DC #DBDC76 #76DC77
monochromatic
#6D2CAC #8C45D0 #AA76DC #C8A7E8 #E6D7F5

Accessibility & contrast

On white

3.32
#AA76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AA76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA76DC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA76DC#FFFFFF#000000##000000
##AA76DC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#698DD9
Tritanopia (blue-blind)
#A2879F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa76dc;
/* rgb */ color: rgb(170, 118, 220);
/* oklch */ color: oklch(66.0% 0.155 306.1);
Tailwind
colors: {
  custom: {
    50: '#c59ee7',
    500: '#aa76dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa76dc;
$custom-light: #c59ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa76dc",
  "rgb": {
    "r": 170,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 270.588,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66001,
    "c": 0.15452,
    "h": 306.1
  },
  "luminance": 0.2667
}

Semantic roles & 50–950 ramp

primary
#AA76DC
secondary
#D7E8C6
accent
#C71F71
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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