#A987EB#A987EB

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

Color values

HEX#A987EB
RGBrgb(169, 135, 235)
HSLhsl(260, 71%, 73%)
HSVhsv(260, 43%, 92%)
CMYKcmyk(28.1%, 42.6%, 0%, 7.8%)
CIE-LABlab(63.14, 33.61, -45.95)
CIE-LCHlch(63.14, 56.93, 306.18°)
OKLaboklab(69.58% 0.069 -0.1286)
OKLCHoklch(69.58% 0.146 298.2)
XYZxyz(40.0180, 31.7608, 82.6033)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987EB #C9EB87
analogous
#8797EB #A987EB #DB87EB
triadic
#A987EB #EBA987 #87EBA9
tetradic
#A987EB #EB8797 #C9EB87 #87EBDB
square
#A987EB #EB8797 #C9EB87 #87EBDB
split-complementary
#A987EB #EBDB87 #97EB87
monochromatic
#6023D4 #8353E2 #A987EB #CFBBF4 #ECE5FB

Accessibility & contrast

On white

2.86
#A987EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A987EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987EB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987EB#FFFFFF#000000##000000
##A987EB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#9C99AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a987eb;
/* rgb */ color: rgb(169, 135, 235);
/* oklch */ color: oklch(69.6% 0.146 298.2);
Tailwind
colors: {
  custom: {
    50: '#c5aaf2',
    500: '#a987eb',
    950: '#000000',
  },
}
SCSS
$custom: #a987eb;
$custom-light: #c5aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a987eb",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 260.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.14594,
    "h": 298.2
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A987EB

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

Preview Lab → · Contrast checker → · Palette generator →

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