#987FBE#987FBE

#987FBE is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.096 H 302.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#987FBE
RGBrgb(152, 127, 190)
HSLhsl(264, 33%, 62%)
HSVhsv(264, 33%, 75%)
CMYKcmyk(20%, 33.2%, 0%, 25.5%)
CIE-LABlab(57.63, 22.43, -29.45)
CIE-LCHlch(57.63, 37.02, 307.29°)
OKLaboklab(64.35% 0.0508 -0.0813)
OKLCHoklch(64.35% 0.096 302)
XYZxyz(29.8306, 25.5718, 52.0695)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FBE #A5BE7F
analogous
#7F86BE #987FBE #B87FBE
triadic
#987FBE #BE987F #7FBE98
tetradic
#987FBE #BE7F86 #A5BE7F #7FBEB8
square
#987FBE #BE7F86 #A5BE7F #7FBEB8
split-complementary
#987FBE #BEB87F #86BE7F
monochromatic
#5B4281 #7756A9 #987FBE #B9A8D3 #D9D0E7

Accessibility & contrast

On white

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

On black

6.11
#987FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FBE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FBE#FFFFFF#000000##000000
##987FBE1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#768ABC
Tritanopia (blue-blind)
#928996
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #987fbe;
/* rgb */ color: rgb(152, 127, 190);
/* oklch */ color: oklch(64.4% 0.096 302.0);
Tailwind
colors: {
  custom: {
    50: '#b7a4d2',
    500: '#987fbe',
    950: '#000000',
  },
}
SCSS
$custom: #987fbe;
$custom-light: #b7a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987fbe",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 263.81,
    "s": 32.642,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64354,
    "c": 0.09592,
    "h": 302
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

primary
#987FBE
secondary
#CFD8C1
accent
#AB3A7E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #987FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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