#8D87D6#8D87D6

#8D87D6 is a light, moderate blue. Relative luminance 0.278; OKLCH L 66.1% C 0.116 H 286.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8D87D6
RGBrgb(141, 135, 214)
HSLhsl(245, 49%, 68%)
HSVhsv(245, 37%, 84%)
CMYKcmyk(34.1%, 36.9%, 0%, 16.1%)
CIE-LABlab(59.75, 20.55, -39.77)
CIE-LCHlch(59.75, 44.76, 297.32°)
OKLaboklab(66.09% 0.0324 -0.1113)
OKLCHoklch(66.09% 0.116 286.2)
XYZxyz(31.7828, 27.8448, 67.3053)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87D6 #D0D687
analogous
#87A8D6 #8D87D6 #B487D6
triadic
#8D87D6 #D68D87 #87D68D
tetradic
#8D87D6 #D687A8 #D0D687 #87D6B4
square
#8D87D6 #D687A8 #D0D687 #87D6B4
split-complementary
#8D87D6 #D6B487 #A8D687
monochromatic
#423AA9 #6259C6 #8D87D6 #B8B5E6 #E4E2F5

Accessibility & contrast

On white

3.20
#8D87D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8D87D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87D6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87D6#FFFFFF#000000##000000
##8D87D61.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F92D9
Deuteranopia (green-blind)
#6D8ED4
Tritanopia (blue-blind)
#7A96A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d87d6;
/* rgb */ color: rgb(141, 135, 214);
/* oklch */ color: oklch(66.1% 0.116 286.2);
Tailwind
colors: {
  custom: {
    50: '#b0aae3',
    500: '#8d87d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d87d6;
$custom-light: #b0aae3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87d6",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 214
  },
  "hsl": {
    "h": 244.557,
    "s": 49.068,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66094,
    "c": 0.11592,
    "h": 286.2
  },
  "luminance": 0.27846
}

Semantic roles & 50–950 ramp

primary
#8D87D6
secondary
#E6E8D1
accent
#BC29B1
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8D87D6

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

Preview Lab → · Contrast checker → · Palette generator →

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