#8D87DC#8D87DC

#8D87DC is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.4% C 0.124 H 285.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D87DC
RGBrgb(141, 135, 220)
HSLhsl(244, 55%, 70%)
HSVhsv(244, 39%, 86%)
CMYKcmyk(35.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(60.03, 22.15, -42.68)
CIE-LCHlch(60.03, 48.09, 297.42°)
OKLaboklab(66.4% 0.0337 -0.1197)
OKLCHoklch(66.4% 0.124 285.7)
XYZxyz(32.5632, 28.1570, 71.4154)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87DC #D6DC87
analogous
#87ACDC #8D87DC #B787DC
triadic
#8D87DC #DC8D87 #87DC8D
tetradic
#8D87DC #DC87AC #D6DC87 #87DCB7
square
#8D87DC #DC87AC #D6DC87 #87DCB7
split-complementary
#8D87DC #DCB787 #ACDC87
monochromatic
#3E35B4 #6058CE #8D87DC #BAB6EA #E7E6F8

Accessibility & contrast

On white

3.17
#8D87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8D87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87DC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87DC#FFFFFF#000000##000000
##8D87DC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#6A8EDA
Tritanopia (blue-blind)
#7897A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d87dc;
/* rgb */ color: rgb(141, 135, 220);
/* oklch */ color: oklch(66.4% 0.124 285.7);
Tailwind
colors: {
  custom: {
    50: '#b1aae7',
    500: '#8d87dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d87dc;
$custom-light: #b1aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87dc",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 244.235,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.12438,
    "h": 285.7
  },
  "luminance": 0.28158
}

Semantic roles & 50–950 ramp

primary
#8D87DC
secondary
#EAECD3
accent
#C223B7
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8D87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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