#AA86FA#AA86FA

#AA86FA is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.167 H 296.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AA86FA
RGBrgb(170, 134, 250)
HSLhsl(259, 92%, 75%)
HSVhsv(259, 46%, 98%)
CMYKcmyk(32%, 46.4%, 0%, 2%)
CIE-LABlab(63.75, 38.14, -53.25)
CIE-LCHlch(63.75, 65.50, 305.62°)
OKLaboklab(70.3% 0.0736 -0.1499)
OKLCHoklch(70.3% 0.167 296.1)
XYZxyz(42.3537, 32.4978, 94.4652)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86FA #D6FA86
analogous
#869CFA #AA86FA #E486FA
triadic
#AA86FA #FAAA86 #86FAAA
tetradic
#AA86FA #FA869C #D6FA86 #86FAE4
square
#AA86FA #FA869C #D6FA86 #86FAE4
split-complementary
#AA86FA #FAE486 #9CFA86
monochromatic
#5710F5 #814BF8 #AA86FA #D3C1FC #EAE2FE

Accessibility & contrast

On white

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

On black

7.50
#AA86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86FA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86FA#FFFFFF#000000##000000
##AA86FA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#989CB4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa86fa;
/* rgb */ color: rgb(170, 134, 250);
/* oklch */ color: oklch(70.3% 0.167 296.1);
Tailwind
colors: {
  custom: {
    50: '#c6aafc',
    500: '#aa86fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa86fa;
$custom-light: #c6aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86fa",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 258.621,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.16694,
    "h": 296.1
  },
  "luminance": 0.32498
}

Semantic roles & 50–950 ramp

primary
#AA86FA
secondary
#ECF6D5
accent
#E6009E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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