#AA84EC#AA84EC

#AA84EC is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.2% C 0.152 H 299.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AA84EC
RGBrgb(170, 132, 236)
HSLhsl(262, 73%, 72%)
HSVhsv(262, 44%, 93%)
CMYKcmyk(28%, 44.1%, 0%, 7.5%)
CIE-LABlab(62.60, 35.81, -47.36)
CIE-LCHlch(62.60, 59.38, 307.09°)
OKLaboklab(69.2% 0.0743 -0.1327)
OKLCHoklch(69.2% 0.152 299.3)
XYZxyz(39.9656, 31.1044, 83.2388)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA84EC #C6EC84
analogous
#8492EC #AA84EC #DE84EC
triadic
#AA84EC #ECAA84 #84ECAA
tetradic
#AA84EC #EC8492 #C6EC84 #84ECDE
square
#AA84EC #EC8492 #C6EC84 #84ECDE
split-complementary
#AA84EC #ECDE84 #92EC84
monochromatic
#6321D5 #854FE4 #AA84EC #CFB9F4 #EDE4FB

Accessibility & contrast

On white

2.91
#AA84EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#AA84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA84EC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA84EC#FFFFFF#000000##000000
##AA84EC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#9D96AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa84ec;
/* rgb */ color: rgb(170, 132, 236);
/* oklch */ color: oklch(69.2% 0.152 299.3);
Tailwind
colors: {
  custom: {
    50: '#c5a8f2',
    500: '#aa84ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa84ec;
$custom-light: #c5a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa84ec",
  "rgb": {
    "r": 170,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 261.923,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69204,
    "c": 0.15211,
    "h": 299.3
  },
  "luminance": 0.31105
}

Semantic roles & 50–950 ramp

primary
#AA84EC
secondary
#E9F3D8
accent
#D5108D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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