#A987DC#A987DC

#A987DC is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.8% C 0.126 H 301.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A987DC
RGBrgb(169, 135, 220)
HSLhsl(264, 55%, 70%)
HSVhsv(264, 39%, 86%)
CMYKcmyk(23.2%, 38.6%, 0%, 13.7%)
CIE-LABlab(62.45, 30.01, -38.72)
CIE-LCHlch(62.45, 48.99, 307.78°)
OKLaboklab(68.83% 0.0662 -0.1077)
OKLCHoklch(68.83% 0.126 301.6)
XYZxyz(37.9416, 30.9302, 71.6675)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987DC #BADC87
analogous
#8790DC #A987DC #D487DC
triadic
#A987DC #DCA987 #87DCA9
tetradic
#A987DC #DC8790 #BADC87 #87DCD4
square
#A987DC #DC8790 #BADC87 #87DCD4
split-complementary
#A987DC #DCD487 #90DC87
monochromatic
#6835B4 #8758CE #A987DC #CBB6EA #EDE6F8

Accessibility & contrast

On white

2.92
#A987DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#A987DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987DC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987DC#FFFFFF#000000##000000
##A987DC1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#A095A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a987dc;
/* rgb */ color: rgb(169, 135, 220);
/* oklch */ color: oklch(68.8% 0.126 301.6);
Tailwind
colors: {
  custom: {
    50: '#c4aae7',
    500: '#a987dc',
    950: '#000000',
  },
}
SCSS
$custom: #a987dc;
$custom-light: #c4aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a987dc",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 264,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.1264,
    "h": 301.6
  },
  "luminance": 0.3093
}

Semantic roles & 50–950 ramp

primary
#A987DC
secondary
#E2ECD3
accent
#C22383
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A987DC

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

Preview Lab → · Contrast checker → · Palette generator →

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