#AA87F3#AA87F3

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

Color values

HEX#AA87F3
RGBrgb(170, 135, 243)
HSLhsl(259, 82%, 74%)
HSVhsv(259, 44%, 95%)
CMYKcmyk(30%, 44.4%, 0%, 4.7%)
CIE-LABlab(63.63, 35.84, -49.60)
CIE-LCHlch(63.63, 61.19, 305.86°)
OKLaboklab(70.09% 0.0714 -0.1392)
OKLCHoklch(70.09% 0.156 297.1)
XYZxyz(41.4153, 32.3446, 88.8378)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87F3 #D0F387
analogous
#879AF3 #AA87F3 #E087F3
triadic
#AA87F3 #F3AA87 #87F3AA
tetradic
#AA87F3 #F3879A #D0F387 #87F3E0
square
#AA87F3 #F3879A #D0F387 #87F3E0
split-complementary
#AA87F3 #F3E087 #9AF387
monochromatic
#5B18E8 #834FED #AA87F3 #D1BFF9 #EBE3FC

Accessibility & contrast

On white

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

On black

7.47
#AA87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA87F3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87F3#FFFFFF#000000##000000
##AA87F31.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF7
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#9B9BB1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa87f3;
/* rgb */ color: rgb(170, 135, 243);
/* oklch */ color: oklch(70.1% 0.156 297.1);
Tailwind
colors: {
  custom: {
    50: '#c6aaf7',
    500: '#aa87f3',
    950: '#000000',
  },
}
SCSS
$custom: #aa87f3;
$custom-light: #c6aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87f3",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 259.444,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70092,
    "c": 0.15644,
    "h": 297.1
  },
  "luminance": 0.32345
}

Semantic roles & 50–950 ramp

primary
#AA87F3
secondary
#EBF4D7
accent
#DE0799
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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