#8D87CD#8D87CD

#8D87CD is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.6% C 0.103 H 287.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D87CD
RGBrgb(141, 135, 205)
HSLhsl(245, 41%, 67%)
HSVhsv(245, 34%, 80%)
CMYKcmyk(31.2%, 34.1%, 0%, 19.6%)
CIE-LABlab(59.34, 18.19, -35.35)
CIE-LCHlch(59.34, 39.76, 297.22°)
OKLaboklab(65.65% 0.0304 -0.0985)
OKLCHoklch(65.65% 0.103 287.1)
XYZxyz(30.6650, 27.3977, 61.4184)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87CD #C7CD87
analogous
#87A4CD #8D87CD #B087CD
triadic
#8D87CD #CD8D87 #87CD8D
tetradic
#8D87CD #CD87A4 #C7CD87 #87CDB0
square
#8D87CD #CD87A4 #C7CD87 #87CDB0
split-complementary
#8D87CD #CDB087 #A4CD87
monochromatic
#48409A #645CBB #8D87CD #B6B2DF #DFDDF1

Accessibility & contrast

On white

3.24
#8D87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8D87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87CD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87CD#FFFFFF#000000##000000
##8D87CD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#7D94A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d87cd;
/* rgb */ color: rgb(141, 135, 205);
/* oklch */ color: oklch(65.6% 0.103 287.1);
Tailwind
colors: {
  custom: {
    50: '#b0aadc',
    500: '#8d87cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d87cd;
$custom-light: #b0aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87cd",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 245.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.10309,
    "h": 287.1
  },
  "luminance": 0.27398
}

Semantic roles & 50–950 ramp

primary
#8D87CD
secondary
#E1E3CD
accent
#B431A9
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8D87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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