#AA86EC#AA86EC

#AA86EC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.5% C 0.149 H 298.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AA86EC
RGBrgb(170, 134, 236)
HSLhsl(261, 73%, 73%)
HSVhsv(261, 43%, 93%)
CMYKcmyk(28%, 43.2%, 0%, 7.5%)
CIE-LABlab(63.05, 34.69, -46.64)
CIE-LCHlch(63.05, 58.13, 306.64°)
OKLaboklab(69.55% 0.0716 -0.1306)
OKLCHoklch(69.55% 0.149 298.7)
XYZxyz(40.2394, 31.6521, 83.3301)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86EC #C8EC86
analogous
#8695EC #AA86EC #DD86EC
triadic
#AA86EC #ECAA86 #86ECAA
tetradic
#AA86EC #EC8695 #C8EC86 #86ECDD
square
#AA86EC #EC8695 #C8EC86 #86ECDD
split-complementary
#AA86EC #ECDD86 #95EC86
monochromatic
#6122D6 #8551E4 #AA86EC #CFBBF4 #ECE5FB

Accessibility & contrast

On white

2.86
#AA86EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AA86EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86EC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86EC#FFFFFF#000000##000000
##AA86EC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#9D98AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #aa86ec;
/* rgb */ color: rgb(170, 134, 236);
/* oklch */ color: oklch(69.5% 0.149 298.7);
Tailwind
colors: {
  custom: {
    50: '#c5aaf2',
    500: '#aa86ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa86ec;
$custom-light: #c5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86ec",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 261.176,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69549,
    "c": 0.14896,
    "h": 298.7
  },
  "luminance": 0.31652
}

Semantic roles & 50–950 ramp

primary
#AA86EC
secondary
#E9F3D8
accent
#D51190
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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