#A987FF#A987FF

#A987FF is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.172 H 294.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A987FF
RGBrgb(169, 135, 255)
HSLhsl(257, 100%, 76%)
HSVhsv(257, 47%, 100%)
CMYKcmyk(33.7%, 47.1%, 0%, 0%)
CIE-LABlab(64.15, 38.59, -55.37)
CIE-LCHlch(64.15, 67.49, 304.88°)
OKLaboklab(70.66% 0.0717 -0.1561)
OKLCHoklch(70.66% 0.172 294.7)
XYZxyz(43.0716, 32.9822, 98.6853)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987FF #DDFF87
analogous
#87A1FF #A987FF #E587FF
triadic
#A987FF #FFA987 #87FFA9
tetradic
#A987FF #FF87A1 #DDFF87 #87FFE5
square
#A987FF #FF87A1 #DDFF87 #87FFE5
split-complementary
#A987FF #FFE587 #A1FF87
monochromatic
#510DFF #7D4AFF #A987FF #D5C4FF #E9E0FF

Accessibility & contrast

On white

2.76
#A987FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A987FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987FF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987FF#FFFFFF#000000##000000
##A987FF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9DFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#959EB7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a987ff;
/* rgb */ color: rgb(169, 135, 255);
/* oklch */ color: oklch(70.7% 0.172 294.7);
Tailwind
colors: {
  custom: {
    50: '#c6aaff',
    500: '#a987ff',
    950: '#000000',
  },
}
SCSS
$custom: #a987ff;
$custom-light: #c6aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a987ff",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 257,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70659,
    "c": 0.17175,
    "h": 294.7
  },
  "luminance": 0.32983
}

Semantic roles & 50–950 ramp

primary
#A987FF
secondary
#EDF7D4
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A987FF

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

Preview Lab → · Contrast checker → · Palette generator →

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