#A987EF#A987EF

#A987EF is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.8% C 0.151 H 297.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A987EF
RGBrgb(169, 135, 239)
HSLhsl(260, 76%, 73%)
HSVhsv(260, 44%, 94%)
CMYKcmyk(29.3%, 43.5%, 0%, 6.3%)
CIE-LABlab(63.34, 34.59, -47.86)
CIE-LCHlch(63.34, 59.05, 305.86°)
OKLaboklab(69.79% 0.0696 -0.1342)
OKLCHoklch(69.79% 0.151 297.4)
XYZxyz(40.6024, 31.9945, 85.6811)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987EF #CDEF87
analogous
#8799EF #A987EF #DD87EF
triadic
#A987EF #EFA987 #87EFA9
tetradic
#A987EF #EF8799 #CDEF87 #87EFDD
square
#A987EF #EF8799 #CDEF87 #87EFDD
split-complementary
#A987EF #EFDD87 #99EF87
monochromatic
#5C1EDE #8251E8 #A987EF #D0BDF6 #ECE4FB

Accessibility & contrast

On white

2.84
#A987EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#A987EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987EF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987EF#FFFFFF#000000##000000
##A987EF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#9A9AB0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a987ef;
/* rgb */ color: rgb(169, 135, 239);
/* oklch */ color: oklch(69.8% 0.151 297.4);
Tailwind
colors: {
  custom: {
    50: '#c5aaf5',
    500: '#a987ef',
    950: '#000000',
  },
}
SCSS
$custom: #a987ef;
$custom-light: #c5aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a987ef",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 259.615,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69789,
    "c": 0.15113,
    "h": 297.4
  },
  "luminance": 0.31995
}

Semantic roles & 50–950 ramp

primary
#A987EF
secondary
#EAF3D8
accent
#D90D96
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A987EF

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

Preview Lab → · Contrast checker → · Palette generator →

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