#8D87BC#8D87BC

#8D87BC is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.9% C 0.079 H 289.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D87BC
RGBrgb(141, 135, 188)
HSLhsl(247, 28%, 63%)
HSVhsv(247, 28%, 74%)
CMYKcmyk(25%, 28.2%, 0%, 26.3%)
CIE-LABlab(58.62, 13.89, -26.86)
CIE-LCHlch(58.62, 30.24, 297.34°)
OKLaboklab(64.86% 0.0258 -0.0742)
OKLCHoklch(64.86% 0.079 289.2)
XYZxyz(28.7234, 26.6210, 51.1923)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87BC #B6BC87
analogous
#879BBC #8D87BC #A787BC
triadic
#8D87BC #BC8D87 #87BC8D
tetradic
#8D87BC #BC879B #B6BC87 #87BCA7
square
#8D87BC #BC879B #B6BC87 #87BCA7
split-complementary
#8D87BC #BCA787 #9BBC87
monochromatic
#4E4881 #6860A6 #8D87BC #B2AED2 #D8D6E8

Accessibility & contrast

On white

3.32
#8D87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8D87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87BC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87BC#FFFFFF#000000##000000
##8D87BC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#83909A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d87bc;
/* rgb */ color: rgb(141, 135, 188);
/* oklch */ color: oklch(64.9% 0.079 289.2);
Tailwind
colors: {
  custom: {
    50: '#afaad0',
    500: '#8d87bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d87bc;
$custom-light: #afaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87bc",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 246.792,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64858,
    "c": 0.07853,
    "h": 289.2
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#8D87BC
secondary
#D7D9C6
accent
#A73F9B
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8D87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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