#A987EA#A987EA

#A987EA is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.5% C 0.145 H 298.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A987EA
RGBrgb(169, 135, 234)
HSLhsl(261, 70%, 72%)
HSVhsv(261, 42%, 92%)
CMYKcmyk(27.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.10, 33.37, -45.47)
CIE-LCHlch(63.10, 56.40, 306.27°)
OKLaboklab(69.53% 0.0688 -0.1272)
OKLCHoklch(69.53% 0.145 298.4)
XYZxyz(39.8740, 31.7032, 81.8445)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987EA #C8EA87
analogous
#8797EA #A987EA #DB87EA
triadic
#A987EA #EAA987 #87EAA9
tetradic
#A987EA #EA8797 #C8EA87 #87EADB
square
#A987EA #EA8797 #C8EA87 #87EADB
split-complementary
#A987EA #EADB87 #97EA87
monochromatic
#6025D2 #8453E1 #A987EA #CEBBF3 #ECE5FA

Accessibility & contrast

On white

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

On black

7.34
#A987EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987EA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987EA#FFFFFF#000000##000000
##A987EA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#7198E7
Tritanopia (blue-blind)
#9C98AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a987ea;
/* rgb */ color: rgb(169, 135, 234);
/* oklch */ color: oklch(69.5% 0.145 298.4);
Tailwind
colors: {
  custom: {
    50: '#c5aaf1',
    500: '#a987ea',
    950: '#000000',
  },
}
SCSS
$custom: #a987ea;
$custom-light: #c5aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a987ea",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 260.606,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69528,
    "c": 0.14464,
    "h": 298.4
  },
  "luminance": 0.31703
}

Semantic roles & 50–950 ramp

primary
#A987EA
secondary
#E9F2D9
accent
#D21391
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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