#AA86E8#AA86E8

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

Color values

HEX#AA86E8
RGBrgb(170, 134, 232)
HSLhsl(262, 68%, 72%)
HSVhsv(262, 42%, 91%)
CMYKcmyk(26.7%, 42.2%, 0%, 9%)
CIE-LABlab(62.86, 33.72, -44.73)
CIE-LCHlch(62.86, 56.02, 307.01°)
OKLaboklab(69.34% 0.071 -0.125)
OKLCHoklch(69.34% 0.144 299.6)
XYZxyz(39.6648, 31.4222, 80.3037)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86E8 #C4E886
analogous
#8693E8 #AA86E8 #DB86E8
triadic
#AA86E8 #E8AA86 #86E8AA
tetradic
#AA86E8 #E88693 #C4E886 #86E8DB
square
#AA86E8 #E88693 #C4E886 #86E8DB
split-complementary
#AA86E8 #E8DB86 #93E886
monochromatic
#6427CD #8653DE #AA86E8 #CEB9F2 #EDE5FA

Accessibility & contrast

On white

2.88
#AA86E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AA86E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86E8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86E8#FFFFFF#000000##000000
##AA86E81.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EC
Deuteranopia (green-blind)
#7297E5
Tritanopia (blue-blind)
#9E97AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa86e8;
/* rgb */ color: rgb(170, 134, 232);
/* oklch */ color: oklch(69.3% 0.144 299.6);
Tailwind
colors: {
  custom: {
    50: '#c5a9f0',
    500: '#aa86e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa86e8;
$custom-light: #c5a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86e8",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 262.041,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69342,
    "c": 0.1438,
    "h": 299.6
  },
  "luminance": 0.31422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA86E8

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

Preview Lab → · Contrast checker → · Palette generator →

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