#8787CD#8787CD

#8787CD is a light, moderate blue. Relative luminance 0.269; OKLCH L 65.2% C 0.104 H 283.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8787CD
RGBrgb(135, 135, 205)
HSLhsl(240, 41%, 67%)
HSVhsv(240, 34%, 80%)
CMYKcmyk(34.1%, 34.1%, 0%, 19.6%)
CIE-LABlab(58.87, 16.48, -36.13)
CIE-LCHlch(58.87, 39.71, 294.52°)
OKLaboklab(65.17% 0.0236 -0.1009)
OKLCHoklch(65.17% 0.104 283.1)
XYZxyz(29.6721, 26.8857, 61.3719)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8787CD #CDCD87
analogous
#87AACD #8787CD #AA87CD
triadic
#8787CD #CD8787 #87CD87
tetradic
#8787CD #CD87AA #CDCD87 #87CDAA
square
#8787CD #CD87AA #CDCD87 #87CDAA
split-complementary
#8787CD #CDAA87 #AACD87
monochromatic
#40409A #5C5CBB #8787CD #B2B2DF #DDDDF1

Accessibility & contrast

On white

3.29
#8787CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8787CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8787CD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8787CD#FFFFFF#000000##000000
##8787CD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#6F8BCB
Tritanopia (blue-blind)
#7594A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8787cd;
/* rgb */ color: rgb(135, 135, 205);
/* oklch */ color: oklch(65.2% 0.104 283.1);
Tailwind
colors: {
  custom: {
    50: '#aca9dc',
    500: '#8787cd',
    950: '#000000',
  },
}
SCSS
$custom: #8787cd;
$custom-light: #aca9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8787cd",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.10358,
    "h": 283.1
  },
  "luminance": 0.26887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8787CD

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

Preview Lab → · Contrast checker → · Palette generator →

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