#AA82EB#AA82EB

#AA82EB is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.154 H 300.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AA82EB
RGBrgb(170, 130, 235)
HSLhsl(263, 72%, 72%)
HSVhsv(263, 45%, 92%)
CMYKcmyk(27.7%, 44.7%, 0%, 7.8%)
CIE-LABlab(62.09, 36.69, -47.61)
CIE-LCHlch(62.09, 60.11, 307.62°)
OKLaboklab(68.81% 0.0769 -0.1334)
OKLCHoklch(68.81% 0.154 300)
XYZxyz(39.5521, 30.5093, 82.3863)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA82EB #C3EB82
analogous
#828FEB #AA82EB #DF82EB
triadic
#AA82EB #EBAA82 #82EBAA
tetradic
#AA82EB #EB828F #C3EB82 #82EBDF
square
#AA82EB #EB828F #C3EB82 #82EBDF
split-complementary
#AA82EB #EBDF82 #8FEB82
monochromatic
#6421D1 #864DE3 #AA82EB #CEB7F3 #EDE5FB

Accessibility & contrast

On white

2.96
#AA82EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AA82EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA82EB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA82EB#FFFFFF#000000##000000
##AA82EB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#9D95AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa82eb;
/* rgb */ color: rgb(170, 130, 235);
/* oklch */ color: oklch(68.8% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#c5a7f2',
    500: '#aa82eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa82eb;
$custom-light: #c5a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa82eb",
  "rgb": {
    "r": 170,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 262.857,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.15397,
    "h": 300
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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