#AA86EF#AA86EF

#AA86EF is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.153 H 298.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#AA86EF
RGBrgb(170, 134, 239)
HSLhsl(261, 77%, 73%)
HSVhsv(261, 44%, 94%)
CMYKcmyk(28.9%, 43.9%, 0%, 6.3%)
CIE-LABlab(63.20, 35.42, -48.07)
CIE-LCHlch(63.20, 59.71, 306.39°)
OKLaboklab(69.71% 0.0721 -0.1347)
OKLCHoklch(69.71% 0.153 298.1)
XYZxyz(40.6790, 31.8279, 85.6449)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86EF #CBEF86
analogous
#8696EF #AA86EF #DE86EF
triadic
#AA86EF #EFAA86 #86EFAA
tetradic
#AA86EF #EF8696 #CBEF86 #86EFDE
square
#AA86EF #EF8696 #CBEF86 #86EFDE
split-complementary
#AA86EF #EFDE86 #96EF86
monochromatic
#5F1DDD #8450E8 #AA86EF #D0BCF6 #ECE4FB

Accessibility & contrast

On white

2.85
#AA86EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#AA86EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86EF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86EF#FFFFFF#000000##000000
##AA86EF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#9C99AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #aa86ef;
/* rgb */ color: rgb(170, 134, 239);
/* oklch */ color: oklch(69.7% 0.153 298.1);
Tailwind
colors: {
  custom: {
    50: '#c6aaf5',
    500: '#aa86ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa86ef;
$custom-light: #c6aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86ef",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 260.571,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69707,
    "c": 0.15283,
    "h": 298.1
  },
  "luminance": 0.31828
}

Semantic roles & 50–950 ramp

primary
#AA86EF
secondary
#EAF3D8
accent
#D90D93
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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