#AA82EC#AA82EC

#AA82EC is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.9% C 0.155 H 299.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#AA82EC
RGBrgb(170, 130, 236)
HSLhsl(263, 74%, 72%)
HSVhsv(263, 45%, 93%)
CMYKcmyk(28%, 44.9%, 0%, 7.5%)
CIE-LABlab(62.14, 36.93, -48.08)
CIE-LCHlch(62.14, 60.63, 307.53°)
OKLaboklab(68.86% 0.077 -0.1348)
OKLCHoklch(68.86% 0.155 299.7)
XYZxyz(39.6970, 30.5672, 83.1493)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA82EC #C4EC82
analogous
#828FEC #AA82EC #DF82EC
triadic
#AA82EC #ECAA82 #82ECAA
tetradic
#AA82EC #EC828F #C4EC82 #82ECDF
square
#AA82EC #EC828F #C4EC82 #82ECDF
split-complementary
#AA82EC #ECDF82 #8FEC82
monochromatic
#6420D3 #864DE4 #AA82EC #CEB7F4 #EDE4FB

Accessibility & contrast

On white

2.95
#AA82EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#AA82EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA82EC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA82EC#FFFFFF#000000##000000
##AA82EC1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#6C95E9
Tritanopia (blue-blind)
#9D95AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa82ec;
/* rgb */ color: rgb(170, 130, 236);
/* oklch */ color: oklch(68.9% 0.155 299.7);
Tailwind
colors: {
  custom: {
    50: '#c6a7f2',
    500: '#aa82ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa82ec;
$custom-light: #c6a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa82ec",
  "rgb": {
    "r": 170,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 262.642,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68862,
    "c": 0.15525,
    "h": 299.7
  },
  "luminance": 0.30567
}

Semantic roles & 50–950 ramp

primary
#AA82EC
secondary
#E8F2D7
accent
#D6108B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA82EC

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

Preview Lab → · Contrast checker → · Palette generator →

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