#AA87F4#AA87F4

#AA87F4 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.158 H 297.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AA87F4
RGBrgb(170, 135, 244)
HSLhsl(259, 83%, 74%)
HSVhsv(259, 45%, 96%)
CMYKcmyk(30.3%, 44.7%, 0%, 4.3%)
CIE-LABlab(63.68, 36.09, -50.07)
CIE-LCHlch(63.68, 61.72, 305.78°)
OKLaboklab(70.15% 0.0715 -0.1406)
OKLCHoklch(70.15% 0.158 297)
XYZxyz(41.5667, 32.4052, 89.6353)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA87F4 #D1F487
analogous
#879BF4 #AA87F4 #E187F4
triadic
#AA87F4 #F4AA87 #87F4AA
tetradic
#AA87F4 #F4879B #D1F487 #87F4E1
square
#AA87F4 #F4879B #D1F487 #87F4E1
split-complementary
#AA87F4 #F4E187 #9BF487
monochromatic
#5B17EA #824FEF #AA87F4 #D2BFF9 #EBE3FC

Accessibility & contrast

On white

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

On black

7.48
#AA87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA87F4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA87F4#FFFFFF#000000##000000
##AA87F41.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF8
Deuteranopia (green-blind)
#6C99F1
Tritanopia (blue-blind)
#9A9BB2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa87f4;
/* rgb */ color: rgb(170, 135, 244);
/* oklch */ color: oklch(70.1% 0.158 297.0);
Tailwind
colors: {
  custom: {
    50: '#c6aaf8',
    500: '#aa87f4',
    950: '#000000',
  },
}
SCSS
$custom: #aa87f4;
$custom-light: #c6aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa87f4",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 259.266,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70145,
    "c": 0.15772,
    "h": 297
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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