#A987DF#A987DF

#A987DF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.0% C 0.130 H 300.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A987DF
RGBrgb(169, 135, 223)
HSLhsl(263, 58%, 70%)
HSVhsv(263, 39%, 87%)
CMYKcmyk(24.2%, 39.5%, 0%, 12.5%)
CIE-LABlab(62.58, 30.72, -40.18)
CIE-LCHlch(62.58, 50.58, 307.40°)
OKLaboklab(68.97% 0.0668 -0.1119)
OKLCHoklch(68.97% 0.13 300.8)
XYZxyz(38.3425, 31.0906, 73.7788)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987DF #BDDF87
analogous
#8791DF #A987DF #D587DF
triadic
#A987DF #DFA987 #87DFA9
tetradic
#A987DF #DF8791 #BDDF87 #87DFD5
square
#A987DF #DF8791 #BDDF87 #87DFD5
split-complementary
#A987DF #DFD587 #91DF87
monochromatic
#6632BA #8657D2 #A987DF #CCB7EC #EEE7F9

Accessibility & contrast

On white

2.91
#A987DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#A987DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987DF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987DF#FFFFFF#000000##000000
##A987DF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#7797DD
Tritanopia (blue-blind)
#9F96A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a987df;
/* rgb */ color: rgb(169, 135, 223);
/* oklch */ color: oklch(69.0% 0.130 300.8);
Tailwind
colors: {
  custom: {
    50: '#c4aae9',
    500: '#a987df',
    950: '#000000',
  },
}
SCSS
$custom: #a987df;
$custom-light: #c4aae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a987df",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 263.182,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68972,
    "c": 0.13031,
    "h": 300.8
  },
  "luminance": 0.31091
}

Semantic roles & 50–950 ramp

primary
#A987DF
secondary
#E4EDD5
accent
#C52086
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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