#AA86FE#AA86FE

#AA86FE is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.172 H 295.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#AA86FE
RGBrgb(170, 134, 254)
HSLhsl(258, 98%, 76%)
HSVhsv(258, 47%, 100%)
CMYKcmyk(33.1%, 47.2%, 0%, 0.4%)
CIE-LABlab(63.96, 39.15, -55.11)
CIE-LCHlch(63.96, 67.60, 305.39°)
OKLaboklab(70.52% 0.074 -0.1553)
OKLCHoklch(70.52% 0.172 295.5)
XYZxyz(42.9876, 32.7513, 97.8035)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86FE #DAFE86
analogous
#869EFE #AA86FE #E686FE
triadic
#AA86FE #FEAA86 #86FEAA
tetradic
#AA86FE #FE869E #DAFE86 #86FEE6
square
#AA86FE #FE869E #DAFE86 #86FEE6
split-complementary
#AA86FE #FEE686 #9EFE86
monochromatic
#550DFD #7F49FD #AA86FE #D5C3FF #EAE1FF

Accessibility & contrast

On white

2.78
#AA86FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#AA86FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86FE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86FE#FFFFFF#000000##000000
##AA86FE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#6499FB
Tritanopia (blue-blind)
#979DB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa86fe;
/* rgb */ color: rgb(170, 134, 254);
/* oklch */ color: oklch(70.5% 0.172 295.5);
Tailwind
colors: {
  custom: {
    50: '#c6aaff',
    500: '#aa86fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa86fe;
$custom-light: #c6aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86fe",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 258,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.17205,
    "h": 295.5
  },
  "luminance": 0.32752
}

Semantic roles & 50–950 ramp

primary
#AA86FE
secondary
#EDF7D4
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA86FE

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

Preview Lab → · Contrast checker → · Palette generator →

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