#AA76EB#AA76EB

#AA76EB is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.173 H 302.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AA76EB
RGBrgb(170, 118, 235)
HSLhsl(267, 75%, 69%)
HSVhsv(267, 50%, 92%)
CMYKcmyk(27.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(59.44, 43.35, -51.82)
CIE-LCHlch(59.44, 67.56, 309.91°)
OKLaboklab(66.82% 0.0928 -0.1457)
OKLCHoklch(66.82% 0.173 302.5)
XYZxyz(38.0480, 27.5011, 81.8849)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA76EB #B7EB76
analogous
#767DEB #AA76EB #E576EB
triadic
#AA76EB #EBAA76 #76EBAA
tetradic
#AA76EB #EB767D #B7EB76 #76EBE5
square
#AA76EB #EB767D #B7EB76 #76EBE5
split-complementary
#AA76EB #EBE576 #7DEB76
monochromatic
#6A1DC9 #8941E3 #AA76EB #CBABF3 #ECE1FB

Accessibility & contrast

On white

3.23
#AA76EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AA76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA76EB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA76EB#FFFFFF#000000##000000
##AA76EB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#9E8BA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa76eb;
/* rgb */ color: rgb(170, 118, 235);
/* oklch */ color: oklch(66.8% 0.173 302.5);
Tailwind
colors: {
  custom: {
    50: '#c69ff2',
    500: '#aa76eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa76eb;
$custom-light: #c69ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa76eb",
  "rgb": {
    "r": 170,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 266.667,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66823,
    "c": 0.17272,
    "h": 302.5
  },
  "luminance": 0.27501
}

Semantic roles & 50–950 ramp

primary
#AA76EB
secondary
#E0EFCD
accent
#D70F7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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