#9987BF#9987BF

#9987BF is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.0% C 0.084 H 298.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9987BF
RGBrgb(153, 135, 191)
HSLhsl(259, 30%, 64%)
HSVhsv(259, 29%, 75%)
CMYKcmyk(19.9%, 29.3%, 0%, 25.1%)
CIE-LABlab(59.76, 18.36, -26.71)
CIE-LCHlch(59.76, 32.41, 304.49°)
OKLaboklab(66.03% 0.0405 -0.0735)
OKLCHoklch(66.03% 0.084 298.8)
XYZxyz(31.2028, 27.8617, 53.0141)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9987BF #ADBF87
analogous
#8791BF #9987BF #B587BF
triadic
#9987BF #BF9987 #87BF99
tetradic
#9987BF #BF8791 #ADBF87 #87BFB5
square
#9987BF #BF8791 #ADBF87 #87BFB5
split-complementary
#9987BF #BFB587 #91BF87
monochromatic
#5B4785 #775FAA #9987BF #BBAFD4 #DDD7EA

Accessibility & contrast

On white

3.20
#9987BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9987BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9987BF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9987BF#FFFFFF#000000##000000
##9987BF1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#7D90BD
Tritanopia (blue-blind)
#92909B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9987bf;
/* rgb */ color: rgb(153, 135, 191);
/* oklch */ color: oklch(66.0% 0.084 298.8);
Tailwind
colors: {
  custom: {
    50: '#b8aad2',
    500: '#9987bf',
    950: '#000000',
  },
}
SCSS
$custom: #9987bf;
$custom-light: #b8aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9987bf",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 259.286,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66025,
    "c": 0.08396,
    "h": 298.8
  },
  "luminance": 0.27862
}

Semantic roles & 50–950 ramp

primary
#9987BF
secondary
#D4DBC7
accent
#A93C86
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #9987BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9987BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva