#AA76EC#AA76EC

#AA76EC is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.174 H 302.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AA76EC
RGBrgb(170, 118, 236)
HSLhsl(266, 76%, 69%)
HSVhsv(266, 50%, 93%)
CMYKcmyk(28%, 50%, 0%, 7.5%)
CIE-LABlab(59.49, 43.58, -52.29)
CIE-LCHlch(59.49, 68.07, 309.81°)
OKLaboklab(66.88% 0.0929 -0.147)
OKLCHoklch(66.88% 0.174 302.3)
XYZxyz(38.1929, 27.5590, 82.6479)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA76EC #B8EC76
analogous
#767DEC #AA76EC #E576EC
triadic
#AA76EC #ECAA76 #76ECAA
tetradic
#AA76EC #EC767D #B8EC76 #76ECE5
square
#AA76EC #EC767D #B8EC76 #76ECE5
split-complementary
#AA76EC #ECE576 #7DEC76
monochromatic
#691CCB #8940E5 #AA76EC #CBACF3 #EDE1FB

Accessibility & contrast

On white

3.22
#AA76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AA76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA76EC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA76EC#FFFFFF#000000##000000
##AA76EC1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#9E8CA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa76ec;
/* rgb */ color: rgb(170, 118, 236);
/* oklch */ color: oklch(66.9% 0.174 302.3);
Tailwind
colors: {
  custom: {
    50: '#c69ff3',
    500: '#aa76ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa76ec;
$custom-light: #c69ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa76ec",
  "rgb": {
    "r": 170,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 266.441,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.17393,
    "h": 302.3
  },
  "luminance": 0.27559
}

Semantic roles & 50–950 ramp

primary
#AA76EC
secondary
#E1F0CE
accent
#D80E7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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