#AA86FC#AA86FC

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

Color values

HEX#AA86FC
RGBrgb(170, 134, 252)
HSLhsl(258, 95%, 76%)
HSVhsv(258, 47%, 99%)
CMYKcmyk(32.5%, 46.8%, 0%, 1.2%)
CIE-LABlab(63.86, 38.65, -54.18)
CIE-LCHlch(63.86, 66.55, 305.50°)
OKLaboklab(70.41% 0.0738 -0.1526)
OKLCHoklch(70.41% 0.17 295.8)
XYZxyz(42.6690, 32.6239, 96.1256)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86FC #D8FC86
analogous
#869DFC #AA86FC #E586FC
triadic
#AA86FC #FCAA86 #86FCAA
tetradic
#AA86FC #FC869D #D8FC86 #86FCE5
square
#AA86FC #FC869D #D8FC86 #86FCE5
split-complementary
#AA86FC #FCE586 #9DFC86
monochromatic
#560FF9 #804AFB #AA86FC #D4C2FD #EAE1FE

Accessibility & contrast

On white

2.79
#AA86FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AA86FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86FC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86FC#FFFFFF#000000##000000
##AA86FC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#989CB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa86fc;
/* rgb */ color: rgb(170, 134, 252);
/* oklch */ color: oklch(70.4% 0.170 295.8);
Tailwind
colors: {
  custom: {
    50: '#c6aafe',
    500: '#aa86fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa86fc;
$custom-light: #c6aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86fc",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 258.305,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70412,
    "c": 0.1695,
    "h": 295.8
  },
  "luminance": 0.32625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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