#AA86FF#AA86FF

#AA86FF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.6% C 0.173 H 295.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AA86FF
RGBrgb(170, 134, 255)
HSLhsl(258, 100%, 76%)
HSVhsv(258, 47%, 100%)
CMYKcmyk(33.3%, 47.5%, 0%, 0%)
CIE-LABlab(64.01, 39.40, -55.58)
CIE-LCHlch(64.01, 68.13, 305.33°)
OKLaboklab(70.58% 0.0741 -0.1567)
OKLCHoklch(70.58% 0.173 295.3)
XYZxyz(43.1481, 32.8155, 98.6491)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86FF #DBFF86
analogous
#869FFF #AA86FF #E786FF
triadic
#AA86FF #FFAA86 #86FFAA
tetradic
#AA86FF #FF869F #DBFF86 #86FFE7
square
#AA86FF #FF869F #DBFF86 #86FFE7
split-complementary
#AA86FF #FFE786 #9FFF86
monochromatic
#540CFF #7F49FF #AA86FF #D5C3FF #EAE0FF

Accessibility & contrast

On white

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

On black

7.56
#AA86FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86FF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86FF#FFFFFF#000000##000000
##AA86FF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#979DB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa86ff;
/* rgb */ color: rgb(170, 134, 255);
/* oklch */ color: oklch(70.6% 0.173 295.3);
Tailwind
colors: {
  custom: {
    50: '#c7aaff',
    500: '#aa86ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa86ff;
$custom-light: #c7aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86ff",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 257.851,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70579,
    "c": 0.17332,
    "h": 295.3
  },
  "luminance": 0.32816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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