#AA86FD#AA86FD

#AA86FD is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.5% C 0.171 H 295.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AA86FD
RGBrgb(170, 134, 253)
HSLhsl(258, 97%, 76%)
HSVhsv(258, 47%, 99%)
CMYKcmyk(32.8%, 47%, 0%, 0.8%)
CIE-LABlab(63.91, 38.90, -54.65)
CIE-LCHlch(63.91, 67.08, 305.44°)
OKLaboklab(70.47% 0.0739 -0.1539)
OKLCHoklch(70.47% 0.171 295.6)
XYZxyz(42.8278, 32.6874, 96.9624)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86FD #D9FD86
analogous
#869DFD #AA86FD #E586FD
triadic
#AA86FD #FDAA86 #86FDAA
tetradic
#AA86FD #FD869D #D9FD86 #86FDE5
square
#AA86FD #FD869D #D9FD86 #86FDE5
split-complementary
#AA86FD #FDE586 #9DFD86
monochromatic
#550EFB #804AFC #AA86FD #D4C2FE #EAE1FF

Accessibility & contrast

On white

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

On black

7.54
#AA86FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86FD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86FD#FFFFFF#000000##000000
##AA86FD1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#979DB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa86fd;
/* rgb */ color: rgb(170, 134, 253);
/* oklch */ color: oklch(70.5% 0.171 295.6);
Tailwind
colors: {
  custom: {
    50: '#c6aafe',
    500: '#aa86fd',
    950: '#000000',
  },
}
SCSS
$custom: #aa86fd;
$custom-light: #c6aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86fd",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 258.151,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.17077,
    "h": 295.6
  },
  "luminance": 0.32688
}

Semantic roles & 50–950 ramp

primary
#AA86FD
secondary
#ECF7D4
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AA86FD

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

Preview Lab → · Contrast checker → · Palette generator →

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