#A987FB#A987FB

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

Color values

HEX#A987FB
RGBrgb(169, 135, 251)
HSLhsl(258, 94%, 76%)
HSVhsv(258, 46%, 98%)
CMYKcmyk(32.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(63.94, 37.58, -53.50)
CIE-LCHlch(63.94, 65.38, 305.08°)
OKLaboklab(70.44% 0.0712 -0.1506)
OKLCHoklch(70.44% 0.167 295.3)
XYZxyz(42.4344, 32.7273, 95.3294)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987FB #D9FB87
analogous
#879FFB #A987FB #E387FB
triadic
#A987FB #FBA987 #87FBA9
tetradic
#A987FB #FB879F #D9FB87 #87FBE3
square
#A987FB #FB879F #D9FB87 #87FBE3
split-complementary
#A987FB #FBE387 #9FFB87
monochromatic
#5411F7 #7F4CF9 #A987FB #D3C2FD #EAE1FE

Accessibility & contrast

On white

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

On black

7.55
#A987FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987FB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987FB#FFFFFF#000000##000000
##A987FB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#969DB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a987fb;
/* rgb */ color: rgb(169, 135, 251);
/* oklch */ color: oklch(70.4% 0.167 295.3);
Tailwind
colors: {
  custom: {
    50: '#c6aafd',
    500: '#a987fb',
    950: '#000000',
  },
}
SCSS
$custom: #a987fb;
$custom-light: #c6aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#a987fb",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 257.586,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.16662,
    "h": 295.3
  },
  "luminance": 0.32728
}

Semantic roles & 50–950 ramp

primary
#A987FB
secondary
#ECF6D5
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A987FB

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

Preview Lab → · Contrast checker → · Palette generator →

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