#987FC0#987FC0

#987FC0 is a light, moderate violet. Relative luminance 0.257; OKLCH L 64.4% C 0.099 H 301.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#987FC0
RGBrgb(152, 127, 192)
HSLhsl(263, 34%, 63%)
HSVhsv(263, 34%, 75%)
CMYKcmyk(20.8%, 33.9%, 0%, 24.7%)
CIE-LABlab(57.71, 22.90, -30.46)
CIE-LCHlch(57.71, 38.11, 306.93°)
OKLaboklab(64.45% 0.0513 -0.0842)
OKLCHoklch(64.45% 0.099 301.4)
XYZxyz(30.0507, 25.6599, 53.2286)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FC0 #A7C07F
analogous
#7F87C0 #987FC0 #B87FC0
triadic
#987FC0 #C0987F #7FC098
tetradic
#987FC0 #C07F87 #A7C07F #7FC0B8
square
#987FC0 #C07F87 #A7C07F #7FC0B8
split-complementary
#987FC0 #C0B87F #87C07F
monochromatic
#5B4184 #7756AC #987FC0 #B9A8D4 #DAD1E8

Accessibility & contrast

On white

3.42
#987FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##987FC0#FFFFFF#000000##000000
##987FC01.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#708AC3
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#918997
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #987fc0;
/* rgb */ color: rgb(152, 127, 192);
/* oklch */ color: oklch(64.4% 0.099 301.4);
Tailwind
colors: {
  custom: {
    50: '#b7a4d3',
    500: '#987fc0',
    950: '#000000',
  },
}
SCSS
$custom: #987fc0;
$custom-light: #b7a4d3;
$custom-dark: #000000;
JSON
{
  "hex": "#987fc0",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 263.077,
    "s": 34.031,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.09864,
    "h": 301.4
  },
  "luminance": 0.2566
}

Semantic roles & 50–950 ramp

primary
#987FC0
secondary
#D0D9C2
accent
#AD3980
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #987FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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