#987ADA#987ADA

#987ADA is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.8% C 0.142 H 296.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#987ADA
RGBrgb(152, 122, 218)
HSLhsl(259, 56%, 67%)
HSVhsv(259, 44%, 85%)
CMYKcmyk(30.3%, 44%, 0%, 14.5%)
CIE-LABlab(57.71, 32.14, -45.16)
CIE-LCHlch(57.71, 55.43, 305.44°)
OKLaboklab(64.84% 0.0636 -0.1267)
OKLCHoklch(64.84% 0.142 296.7)
XYZxyz(32.5602, 25.6560, 69.5528)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ADA #BCDA7A
analogous
#7A8CDA #987ADA #C87ADA
triadic
#987ADA #DA987A #7ADA98
tetradic
#987ADA #DA7A8C #BCDA7A #7ADAC8
square
#987ADA #DA7A8C #BCDA7A #7ADAC8
split-complementary
#987ADA #DAC87A #8CDA7A
monochromatic
#562FAA #734ACD #987ADA #BDAAE7 #E2DAF5

Accessibility & contrast

On white

3.43
#987ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#987ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ADA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ADA#FFFFFF#000000##000000
##987ADA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDE
Deuteranopia (green-blind)
#6289D8
Tritanopia (blue-blind)
#8A8B9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #987ada;
/* rgb */ color: rgb(152, 122, 218);
/* oklch */ color: oklch(64.8% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#b9a1e6',
    500: '#987ada',
    950: '#000000',
  },
}
SCSS
$custom: #987ada;
$custom-light: #b9a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#987ada",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 218
  },
  "hsl": {
    "h": 258.75,
    "s": 56.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64837,
    "c": 0.14178,
    "h": 296.7
  },
  "luminance": 0.25656
}

Semantic roles & 50–950 ramp

primary
#987ADA
secondary
#DEE7C8
accent
#C42191
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #987ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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