#987ADE#987ADE

#987ADE is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.1% C 0.147 H 295.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#987ADE
RGBrgb(152, 122, 222)
HSLhsl(258, 60%, 67%)
HSVhsv(258, 45%, 87%)
CMYKcmyk(31.5%, 45%, 0%, 12.9%)
CIE-LABlab(57.91, 33.16, -47.09)
CIE-LCHlch(57.91, 57.59, 305.15°)
OKLaboklab(65.06% 0.0642 -0.1323)
OKLCHoklch(65.06% 0.147 295.9)
XYZxyz(33.0900, 25.8679, 72.3427)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ADE #C0DE7A
analogous
#7A8EDE #987ADE #CA7ADE
triadic
#987ADE #DE987A #7ADE98
tetradic
#987ADE #DE7A8E #C0DE7A #7ADECA
square
#987ADE #DE7A8E #C0DE7A #7ADECA
split-complementary
#987ADE #DECA7A #8EDE7A
monochromatic
#542CB2 #7249D2 #987ADE #BEABEA #E4DCF6

Accessibility & contrast

On white

3.40
#987ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#987ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ADE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ADE#FFFFFF#000000##000000
##987ADE1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#608ADC
Tritanopia (blue-blind)
#898DA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #987ade;
/* rgb */ color: rgb(152, 122, 222);
/* oklch */ color: oklch(65.1% 0.147 295.9);
Tailwind
colors: {
  custom: {
    50: '#b9a1e9',
    500: '#987ade',
    950: '#000000',
  },
}
SCSS
$custom: #987ade;
$custom-light: #b9a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#987ade",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 258,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65056,
    "c": 0.14705,
    "h": 295.9
  },
  "luminance": 0.25868
}

Semantic roles & 50–950 ramp

primary
#987ADE
secondary
#E0EACA
accent
#C81E95
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #987ADE

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

Preview Lab → · Contrast checker → · Palette generator →

#987ADE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva