#AA86E7#AA86E7

#AA86E7 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.143 H 299.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AA86E7
RGBrgb(170, 134, 231)
HSLhsl(262, 67%, 72%)
HSVhsv(262, 42%, 91%)
CMYKcmyk(26.4%, 42%, 0%, 9.4%)
CIE-LABlab(62.82, 33.48, -44.25)
CIE-LCHlch(62.82, 55.49, 307.11°)
OKLaboklab(69.29% 0.0708 -0.1237)
OKLCHoklch(69.29% 0.143 299.8)
XYZxyz(39.5232, 31.3656, 79.5577)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86E7 #C3E786
analogous
#8693E7 #AA86E7 #DB86E7
triadic
#AA86E7 #E7AA86 #86E7AA
tetradic
#AA86E7 #E78693 #C3E786 #86E7DB
square
#AA86E7 #E78693 #C3E786 #86E7DB
split-complementary
#AA86E7 #E7DB86 #93E786
monochromatic
#6428CA #8653DD #AA86E7 #CEB9F1 #EDE5FA

Accessibility & contrast

On white

2.89
#AA86E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AA86E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86E7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86E7#FFFFFF#000000##000000
##AA86E71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EB
Deuteranopia (green-blind)
#7397E5
Tritanopia (blue-blind)
#9E97AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa86e7;
/* rgb */ color: rgb(170, 134, 231);
/* oklch */ color: oklch(69.3% 0.143 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a9ef',
    500: '#aa86e7',
    950: '#000000',
  },
}
SCSS
$custom: #aa86e7;
$custom-light: #c5a9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86e7",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 231
  },
  "hsl": {
    "h": 262.268,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.14251,
    "h": 299.8
  },
  "luminance": 0.31366
}

Semantic roles & 50–950 ramp

primary
#AA86E7
secondary
#E8F1D8
accent
#CF178A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA86E7

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

Preview Lab → · Contrast checker → · Palette generator →

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