#8D87EC#8D87EC

#8D87EC is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.3% C 0.147 H 284.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D87EC
RGBrgb(141, 135, 236)
HSLhsl(244, 73%, 73%)
HSVhsv(244, 43%, 93%)
CMYKcmyk(40.3%, 42.8%, 0%, 7.5%)
CIE-LABlab(60.82, 26.52, -50.33)
CIE-LCHlch(60.82, 56.89, 297.78°)
OKLaboklab(67.26% 0.0365 -0.142)
OKLCHoklch(67.26% 0.147 284.4)
XYZxyz(34.7845, 29.0455, 83.1142)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87EC #E6EC87
analogous
#87B4EC #8D87EC #BF87EC
triadic
#8D87EC #EC8D87 #87EC8D
tetradic
#8D87EC #EC87B4 #E6EC87 #87ECBF
square
#8D87EC #EC87B4 #E6EC87 #87ECBF
split-complementary
#8D87EC #ECBF87 #B4EC87
monochromatic
#2D22D7 #5B52E4 #8D87EC #BFBCF4 #E6E5FB

Accessibility & contrast

On white

3.08
#8D87EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8D87EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87EC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87EC#FFFFFF#000000##000000
##8D87EC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#5F90EA
Tritanopia (blue-blind)
#719BAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d87ec;
/* rgb */ color: rgb(141, 135, 236);
/* oklch */ color: oklch(67.3% 0.147 284.4);
Tailwind
colors: {
  custom: {
    50: '#b2aaf2',
    500: '#8d87ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d87ec;
$custom-light: #b2aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87ec",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 243.564,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67263,
    "c": 0.14666,
    "h": 284.4
  },
  "luminance": 0.29047
}

Semantic roles & 50–950 ramp

primary
#8D87EC
secondary
#F1F2D9
accent
#D511C9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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