#AA86FB#AA86FB

#AA86FB is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.4% C 0.168 H 296.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AA86FB
RGBrgb(170, 134, 251)
HSLhsl(258, 94%, 75%)
HSVhsv(258, 47%, 98%)
CMYKcmyk(32.3%, 46.6%, 0%, 1.6%)
CIE-LABlab(63.80, 38.39, -53.71)
CIE-LCHlch(63.80, 66.03, 305.56°)
OKLaboklab(70.36% 0.0737 -0.1512)
OKLCHoklch(70.36% 0.168 296)
XYZxyz(42.5109, 32.5607, 95.2932)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86FB #D7FB86
analogous
#869CFB #AA86FB #E586FB
triadic
#AA86FB #FBAA86 #86FBAA
tetradic
#AA86FB #FB869C #D7FB86 #86FBE5
square
#AA86FB #FB869C #D7FB86 #86FBE5
split-complementary
#AA86FB #FBE586 #9CFB86
monochromatic
#5710F7 #804BF9 #AA86FB #D4C1FD #EAE1FE

Accessibility & contrast

On white

2.80
#AA86FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AA86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86FB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86FB#FFFFFF#000000##000000
##AA86FB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#989CB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa86fb;
/* rgb */ color: rgb(170, 134, 251);
/* oklch */ color: oklch(70.4% 0.168 296.0);
Tailwind
colors: {
  custom: {
    50: '#c6aafd',
    500: '#aa86fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa86fb;
$custom-light: #c6aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86fb",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 258.462,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70356,
    "c": 0.16821,
    "h": 296
  },
  "luminance": 0.32561
}

Semantic roles & 50–950 ramp

primary
#AA86FB
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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