#987ACE#987ACE

#987ACE is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.2% C 0.126 H 299.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#987ACE
RGBrgb(152, 122, 206)
HSLhsl(261, 46%, 64%)
HSVhsv(261, 41%, 81%)
CMYKcmyk(26.2%, 40.8%, 0%, 19.2%)
CIE-LABlab(57.12, 29.15, -39.32)
CIE-LCHlch(57.12, 48.95, 306.56°)
OKLaboklab(64.21% 0.0616 -0.1097)
OKLCHoklch(64.21% 0.126 299.3)
XYZxyz(31.0465, 25.0505, 61.5801)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ACE #B0CE7A
analogous
#7A86CE #987ACE #C27ACE
triadic
#987ACE #CE987A #7ACE98
tetradic
#987ACE #CE7A86 #B0CE7A #7ACEC2
square
#987ACE #CE7A86 #B0CE7A #7ACEC2
split-complementary
#987ACE #CEC27A #86CE7A
monochromatic
#593796 #754DBE #987ACE #BBA7DE #DDD3EF

Accessibility & contrast

On white

3.49
#987ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#987ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ACE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ACE#FFFFFF#000000##000000
##987ACE1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D1
Deuteranopia (green-blind)
#6988CC
Tritanopia (blue-blind)
#8E889A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #987ace;
/* rgb */ color: rgb(152, 122, 206);
/* oklch */ color: oklch(64.2% 0.126 299.3);
Tailwind
colors: {
  custom: {
    50: '#b8a1dd',
    500: '#987ace',
    950: '#000000',
  },
}
SCSS
$custom: #987ace;
$custom-light: #b8a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#987ace",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 206
  },
  "hsl": {
    "h": 261.429,
    "s": 46.154,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64205,
    "c": 0.12582,
    "h": 299.3
  },
  "luminance": 0.25051
}

Semantic roles & 50–950 ramp

primary
#987ACE
secondary
#D6E0C3
accent
#B92C87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110F15
muted
#807E83

Preview Lab

Preview with #987ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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