#AA86F7#AA86F7

#AA86F7 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.163 H 296.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#AA86F7
RGBrgb(170, 134, 247)
HSLhsl(259, 88%, 75%)
HSVhsv(259, 46%, 97%)
CMYKcmyk(31.2%, 45.7%, 0%, 3.1%)
CIE-LABlab(63.60, 37.40, -51.84)
CIE-LCHlch(63.60, 63.92, 305.80°)
OKLaboklab(70.14% 0.0732 -0.1458)
OKLCHoklch(70.14% 0.163 296.7)
XYZxyz(41.8870, 32.3111, 92.0075)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86F7 #D3F786
analogous
#869BF7 #AA86F7 #E386F7
triadic
#AA86F7 #F7AA86 #86F7AA
tetradic
#AA86F7 #F7869B #D3F786 #86F7E3
square
#AA86F7 #F7869B #D3F786 #86F7E3
split-complementary
#AA86F7 #F7E386 #9BF786
monochromatic
#5913EF #824DF3 #AA86F7 #D2BFFB #EBE2FD

Accessibility & contrast

On white

2.81
#AA86F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#AA86F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86F7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86F7#FFFFFF#000000##000000
##AA86F71.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#999BB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa86f7;
/* rgb */ color: rgb(170, 134, 247);
/* oklch */ color: oklch(70.1% 0.163 296.7);
Tailwind
colors: {
  custom: {
    50: '#c6aafa',
    500: '#aa86f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa86f7;
$custom-light: #c6aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86f7",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 259.115,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.16311,
    "h": 296.7
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

primary
#AA86F7
secondary
#EBF5D6
accent
#E4019C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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