#AA86DC#AA86DC

#AA86DC is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.7% C 0.128 H 302.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AA86DC
RGBrgb(170, 134, 220)
HSLhsl(265, 55%, 69%)
HSVhsv(265, 39%, 86%)
CMYKcmyk(22.7%, 39.1%, 0%, 13.7%)
CIE-LABlab(62.31, 30.87, -38.93)
CIE-LCHlch(62.31, 49.68, 308.41°)
OKLaboklab(68.74% 0.0688 -0.1083)
OKLCHoklch(68.74% 0.128 302.4)
XYZxyz(38.0182, 30.7636, 71.6313)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA86DC #B8DC86
analogous
#868DDC #AA86DC #D586DC
triadic
#AA86DC #DCAA86 #86DCAA
tetradic
#AA86DC #DC868D #B8DC86 #86DCD5
square
#AA86DC #DC868D #B8DC86 #86DCD5
split-complementary
#AA86DC #DCD586 #8DDC86
monochromatic
#6934B4 #8957CE #AA86DC #CBB5EA #EDE5F7

Accessibility & contrast

On white

2.94
#AA86DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AA86DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA86DC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA86DC#FFFFFF#000000##000000
##AA86DC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#7996DA
Tritanopia (blue-blind)
#A194A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa86dc;
/* rgb */ color: rgb(170, 134, 220);
/* oklch */ color: oklch(68.7% 0.128 302.4);
Tailwind
colors: {
  custom: {
    50: '#c5a9e7',
    500: '#aa86dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa86dc;
$custom-light: #c5a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa86dc",
  "rgb": {
    "r": 170,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 265.116,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6874,
    "c": 0.12827,
    "h": 302.4
  },
  "luminance": 0.30764
}

Semantic roles & 50–950 ramp

primary
#AA86DC
secondary
#E1EBD3
accent
#C32380
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AA86DC

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

Preview Lab → · Contrast checker → · Palette generator →

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