#8987CD#8987CD

#8987CD is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.3% C 0.103 H 284.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8987CD
RGBrgb(137, 135, 205)
HSLhsl(242, 41%, 67%)
HSVhsv(242, 34%, 80%)
CMYKcmyk(33.2%, 34.1%, 0%, 19.6%)
CIE-LABlab(59.02, 17.04, -35.87)
CIE-LCHlch(59.02, 39.71, 295.41°)
OKLaboklab(65.33% 0.0258 -0.1001)
OKLCHoklch(65.33% 0.103 284.5)
XYZxyz(29.9970, 27.0532, 61.3871)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987CD #CBCD87
analogous
#87A8CD #8987CD #AC87CD
triadic
#8987CD #CD8987 #87CD89
tetradic
#8987CD #CD87A8 #CBCD87 #87CDAC
square
#8987CD #CD87A8 #CBCD87 #87CDAC
split-complementary
#8987CD #CDAC87 #A8CD87
monochromatic
#43409A #5F5CBB #8987CD #B3B2DF #DEDDF1

Accessibility & contrast

On white

3.28
#8987CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8987CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987CD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987CD#FFFFFF#000000##000000
##8987CD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#7894A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8987cd;
/* rgb */ color: rgb(137, 135, 205);
/* oklch */ color: oklch(65.3% 0.103 284.5);
Tailwind
colors: {
  custom: {
    50: '#ada9dc',
    500: '#8987cd',
    950: '#000000',
  },
}
SCSS
$custom: #8987cd;
$custom-light: #ada9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8987cd",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 241.714,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65326,
    "c": 0.10336,
    "h": 284.5
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#8987CD
secondary
#E3E3CD
accent
#B431B0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8987CD

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

Preview Lab → · Contrast checker → · Palette generator →

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