#8987C2#8987C2

#8987C2 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.8% C 0.087 H 285.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8987C2
RGBrgb(137, 135, 194)
HSLhsl(242, 33%, 65%)
HSVhsv(242, 30%, 76%)
CMYKcmyk(29.4%, 30.4%, 0%, 23.9%)
CIE-LABlab(58.55, 14.18, -30.40)
CIE-LCHlch(58.55, 33.55, 295.01°)
OKLaboklab(64.8% 0.023 -0.0843)
OKLCHoklch(64.8% 0.087 285.2)
XYZxyz(28.7156, 26.5407, 54.6384)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987C2 #C0C287
analogous
#87A3C2 #8987C2 #A787C2
triadic
#8987C2 #C28987 #87C289
tetradic
#8987C2 #C287A3 #C0C287 #87C2A7
square
#8987C2 #C287A3 #C0C287 #87C2A7
split-complementary
#8987C2 #C2A787 #A3C287
monochromatic
#484689 #615EAD #8987C2 #B1B0D7 #D9D8EB

Accessibility & contrast

On white

3.33
#8987C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8987C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987C2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987C2#FFFFFF#000000##000000
##8987C21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#768FC4
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#7B929C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8987c2;
/* rgb */ color: rgb(137, 135, 194);
/* oklch */ color: oklch(64.8% 0.087 285.2);
Tailwind
colors: {
  custom: {
    50: '#ada9d4',
    500: '#8987c2',
    950: '#000000',
  },
}
SCSS
$custom: #8987c2;
$custom-light: #ada9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8987c2",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 242.034,
    "s": 32.597,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.08742,
    "h": 285.2
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

primary
#8987C2
secondary
#DCDDC8
accent
#AB3AA8
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8987C2

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

Preview Lab → · Contrast checker → · Palette generator →

#8987C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva