#8787CB#8787CB

#8787CB is a light, moderate blue. Relative luminance 0.268; OKLCH L 65.1% C 0.101 H 283.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8787CB
RGBrgb(135, 135, 203)
HSLhsl(240, 40%, 66%)
HSVhsv(240, 33%, 80%)
CMYKcmyk(33.5%, 33.5%, 0%, 20.4%)
CIE-LABlab(58.78, 15.95, -35.14)
CIE-LCHlch(58.78, 38.59, 294.41°)
OKLaboklab(65.07% 0.0231 -0.098)
OKLCHoklch(65.07% 0.101 283.2)
XYZxyz(29.4322, 26.7898, 60.1086)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8787CB #CBCB87
analogous
#87A9CB #8787CB #A987CB
triadic
#8787CB #CB8787 #87CB87
tetradic
#8787CB #CB87A9 #CBCB87 #87CBA9
square
#8787CB #CB87A9 #CBCB87 #87CBA9
split-complementary
#8787CB #CBA987 #A9CB87
monochromatic
#414196 #5C5CB8 #8787CB #B2B2DE #DCDCF0

Accessibility & contrast

On white

3.30
#8787CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8787CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8787CB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8787CB#FFFFFF#000000##000000
##8787CB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CE
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#7594A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8787cb;
/* rgb */ color: rgb(135, 135, 203);
/* oklch */ color: oklch(65.1% 0.101 283.2);
Tailwind
colors: {
  custom: {
    50: '#aca9db',
    500: '#8787cb',
    950: '#000000',
  },
}
SCSS
$custom: #8787cb;
$custom-light: #aca9db;
$custom-dark: #000000;
JSON
{
  "hex": "#8787cb",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.10069,
    "h": 283.2
  },
  "luminance": 0.26791
}

Semantic roles & 50–950 ramp

primary
#8787CB
secondary
#E2E2CC
accent
#B333B3
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8787CB

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

Preview Lab → · Contrast checker → · Palette generator →

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