#A987FA#A987FA

#A987FA is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.4% C 0.165 H 295.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A987FA
RGBrgb(169, 135, 250)
HSLhsl(258, 92%, 75%)
HSVhsv(258, 46%, 98%)
CMYKcmyk(32.4%, 46%, 0%, 2%)
CIE-LABlab(63.89, 37.33, -53.04)
CIE-LCHlch(63.89, 64.86, 305.14°)
OKLaboklab(70.38% 0.0711 -0.1493)
OKLCHoklch(70.38% 0.165 295.5)
XYZxyz(42.2772, 32.6644, 94.5014)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987FA #D8FA87
analogous
#879EFA #A987FA #E287FA
triadic
#A987FA #FAA987 #87FAA9
tetradic
#A987FA #FA879E #D8FA87 #87FAE2
square
#A987FA #FA879E #D8FA87 #87FAE2
split-complementary
#A987FA #FAE287 #9EFA87
monochromatic
#5511F5 #7F4CF8 #A987FA #D3C2FC #EAE2FE

Accessibility & contrast

On white

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

On black

7.53
#A987FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987FA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987FA#FFFFFF#000000##000000
##A987FA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#979DB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a987fa;
/* rgb */ color: rgb(169, 135, 250);
/* oklch */ color: oklch(70.4% 0.165 295.5);
Tailwind
colors: {
  custom: {
    50: '#c6aafc',
    500: '#a987fa',
    950: '#000000',
  },
}
SCSS
$custom: #a987fa;
$custom-light: #c6aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#a987fa",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 257.739,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70382,
    "c": 0.16533,
    "h": 295.5
  },
  "luminance": 0.32665
}

Semantic roles & 50–950 ramp

primary
#A987FA
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A987FA

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

Preview Lab → · Contrast checker → · Palette generator →

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