#8D87DE#8D87DE

#8D87DE is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.5% C 0.127 H 285.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D87DE
RGBrgb(141, 135, 222)
HSLhsl(244, 57%, 70%)
HSVhsv(244, 39%, 87%)
CMYKcmyk(36.5%, 39.2%, 0%, 12.9%)
CIE-LABlab(60.13, 22.69, -43.65)
CIE-LCHlch(60.13, 49.19, 297.46°)
OKLaboklab(66.51% 0.0341 -0.1225)
OKLCHoklch(66.51% 0.127 285.5)
XYZxyz(32.8297, 28.2636, 72.8188)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87DE #D8DE87
analogous
#87ACDE #8D87DE #B987DE
triadic
#8D87DE #DE8D87 #87DE8D
tetradic
#8D87DE #DE87AC #D8DE87 #87DEB9
square
#8D87DE #DE87AC #D8DE87 #87DEB9
split-complementary
#8D87DE #DEB987 #ACDE87
monochromatic
#3C33B8 #5F57D1 #8D87DE #BBB7EB #E8E7F8

Accessibility & contrast

On white

3.16
#8D87DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8D87DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87DE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87DE#FFFFFF#000000##000000
##8D87DE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E1
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#7798A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d87de;
/* rgb */ color: rgb(141, 135, 222);
/* oklch */ color: oklch(66.5% 0.127 285.5);
Tailwind
colors: {
  custom: {
    50: '#b1aae8',
    500: '#8d87de',
    950: '#000000',
  },
}
SCSS
$custom: #8d87de;
$custom-light: #b1aae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87de",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 244.138,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.1272,
    "h": 285.5
  },
  "luminance": 0.28265
}

Semantic roles & 50–950 ramp

primary
#8D87DE
secondary
#EBEDD4
accent
#C421B9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8D87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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