#8B87CA#8B87CA

#8B87CA is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.3% C 0.099 H 286.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B87CA
RGBrgb(139, 135, 202)
HSLhsl(244, 39%, 66%)
HSVhsv(244, 33%, 79%)
CMYKcmyk(31.2%, 33.2%, 0%, 20.8%)
CIE-LABlab(59.05, 16.83, -34.13)
CIE-LCHlch(59.05, 38.05, 296.25°)
OKLaboklab(65.34% 0.0273 -0.095)
OKLCHoklch(65.34% 0.099 286.1)
XYZxyz(29.9693, 27.0804, 59.5137)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87CA #C6CA87
analogous
#87A4CA #8B87CA #AC87CA
triadic
#8B87CA #CA8B87 #87CA8B
tetradic
#8B87CA #CA87A4 #C6CA87 #87CAAC
square
#8B87CA #CA87A4 #C6CA87 #87CAAC
split-complementary
#8B87CA #CAAC87 #A4CA87
monochromatic
#474295 #625DB7 #8B87CA #B4B1DD #DDDCEF

Accessibility & contrast

On white

3.27
#8B87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8B87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87CA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87CA#FFFFFF#000000##000000
##8B87CA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#7C939F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b87ca;
/* rgb */ color: rgb(139, 135, 202);
/* oklch */ color: oklch(65.3% 0.099 286.1);
Tailwind
colors: {
  custom: {
    50: '#aeaada',
    500: '#8b87ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b87ca;
$custom-light: #aeaada;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87ca",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 243.582,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65341,
    "c": 0.09888,
    "h": 286.1
  },
  "luminance": 0.27081
}

Semantic roles & 50–950 ramp

primary
#8B87CA
secondary
#E0E1CB
accent
#B234AA
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8B87CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8B87CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva