#A987EC#A987EC

#A987EC is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.6% C 0.147 H 298.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A987EC
RGBrgb(169, 135, 236)
HSLhsl(260, 73%, 73%)
HSVhsv(260, 43%, 93%)
CMYKcmyk(28.4%, 42.8%, 0%, 7.5%)
CIE-LABlab(63.19, 33.85, -46.43)
CIE-LCHlch(63.19, 57.46, 306.10°)
OKLaboklab(69.63% 0.0691 -0.13)
OKLCHoklch(69.63% 0.147 298)
XYZxyz(40.1629, 31.8187, 83.3663)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987EC #CAEC87
analogous
#8797EC #A987EC #DB87EC
triadic
#A987EC #ECA987 #87ECA9
tetradic
#A987EC #EC8797 #CAEC87 #87ECDB
square
#A987EC #EC8797 #CAEC87 #87ECDB
split-complementary
#A987EC #ECDB87 #97EC87
monochromatic
#5F22D7 #8352E4 #A987EC #CFBCF4 #ECE5FB

Accessibility & contrast

On white

2.85
#A987EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#A987EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987EC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987EC#FFFFFF#000000##000000
##A987EC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#9B99AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a987ec;
/* rgb */ color: rgb(169, 135, 236);
/* oklch */ color: oklch(69.6% 0.147 298.0);
Tailwind
colors: {
  custom: {
    50: '#c5aaf2',
    500: '#a987ec',
    950: '#000000',
  },
}
SCSS
$custom: #a987ec;
$custom-light: #c5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a987ec",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 260.198,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69632,
    "c": 0.14724,
    "h": 298
  },
  "luminance": 0.31819
}

Semantic roles & 50–950 ramp

primary
#A987EC
secondary
#EAF2D9
accent
#D51193
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A987EC

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

Preview Lab → · Contrast checker → · Palette generator →

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