#A987FC#A987FC

#A987FC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.168 H 295.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A987FC
RGBrgb(169, 135, 252)
HSLhsl(257, 95%, 76%)
HSVhsv(257, 46%, 99%)
CMYKcmyk(32.9%, 46.4%, 0%, 1.2%)
CIE-LABlab(63.99, 37.83, -53.97)
CIE-LCHlch(63.99, 65.91, 305.03°)
OKLaboklab(70.49% 0.0713 -0.152)
OKLCHoklch(70.49% 0.168 295.1)
XYZxyz(42.5924, 32.7905, 96.1618)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987FC #DAFC87
analogous
#879FFC #A987FC #E387FC
triadic
#A987FC #FCA987 #87FCA9
tetradic
#A987FC #FC879F #DAFC87 #87FCE3
square
#A987FC #FC879F #DAFC87 #87FCE3
split-complementary
#A987FC #FCE387 #9FFC87
monochromatic
#5310F9 #7E4BFB #A987FC #D4C3FD #EAE1FE

Accessibility & contrast

On white

2.78
#A987FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A987FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987FC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987FC#FFFFFF#000000##000000
##A987FC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#969DB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a987fc;
/* rgb */ color: rgb(169, 135, 252);
/* oklch */ color: oklch(70.5% 0.168 295.1);
Tailwind
colors: {
  custom: {
    50: '#c6aafe',
    500: '#a987fc',
    950: '#000000',
  },
}
SCSS
$custom: #a987fc;
$custom-light: #c6aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a987fc",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 257.436,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70492,
    "c": 0.1679,
    "h": 295.1
  },
  "luminance": 0.32791
}

Semantic roles & 50–950 ramp

primary
#A987FC
secondary
#EDF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A987FC

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

Preview Lab → · Contrast checker → · Palette generator →

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