#AA86EB#AA86EB

#AA86EB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.148 H 298.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AA86EB
RGBrgb(170, 134, 235)
HSLhsl(261, 72%, 72%)
HSVhsv(261, 43%, 92%)
CMYKcmyk(27.7%, 43%, 0%, 7.8%)
CIE-LABlab(63.01, 34.45, -46.16)
CIE-LCHlch(63.01, 57.60, 306.73°)
OKLaboklab(69.5% 0.0715 -0.1292)
OKLCHoklch(69.5% 0.148 298.9)
XYZxyz(40.0946, 31.5941, 82.5671)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86EB #C7EB86
analogous
#8695EB #AA86EB #DC86EB
triadic
#AA86EB #EBAA86 #86EBAA
tetradic
#AA86EB #EB8695 #C7EB86 #86EBDC
square
#AA86EB #EB8695 #C7EB86 #86EBDC
split-complementary
#AA86EB #EBDC86 #95EB86
monochromatic
#6223D4 #8551E2 #AA86EB #CFBBF4 #EDE5FB

Accessibility & contrast

On white

2.87
#AA86EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AA86EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86EB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86EB#FFFFFF#000000##000000
##AA86EB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#7098E8
Tritanopia (blue-blind)
#9D98AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa86eb;
/* rgb */ color: rgb(170, 134, 235);
/* oklch */ color: oklch(69.5% 0.148 298.9);
Tailwind
colors: {
  custom: {
    50: '#c5a9f2',
    500: '#aa86eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa86eb;
$custom-light: #c5a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86eb",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 261.386,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.14767,
    "h": 298.9
  },
  "luminance": 0.31594
}

Semantic roles & 50–950 ramp

primary
#AA86EB
secondary
#E9F2D9
accent
#D4128F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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