#8D87BF#8D87BF

#8D87BF is a light, moderate blue. Relative luminance 0.268; OKLCH L 65.0% C 0.083 H 288.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D87BF
RGBrgb(141, 135, 191)
HSLhsl(246, 30%, 64%)
HSVhsv(246, 29%, 75%)
CMYKcmyk(26.2%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.74, 14.63, -28.37)
CIE-LCHlch(58.74, 31.92, 297.28°)
OKLaboklab(64.99% 0.0267 -0.0785)
OKLCHoklch(64.99% 0.083 288.8)
XYZxyz(29.0501, 26.7517, 52.9132)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87BF #B9BF87
analogous
#879DBF #8D87BF #A987BF
triadic
#8D87BF #BF8D87 #87BF8D
tetradic
#8D87BF #BF879D #B9BF87 #87BFA9
square
#8D87BF #BF879D #B9BF87 #87BFA9
split-complementary
#8D87BF #BFA987 #9DBF87
monochromatic
#4D4785 #675FAA #8D87BF #B3AFD4 #D9D7EA

Accessibility & contrast

On white

3.31
#8D87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8D87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87BF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87BF#FFFFFF#000000##000000
##8D87BF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC1
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#82919B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d87bf;
/* rgb */ color: rgb(141, 135, 191);
/* oklch */ color: oklch(65.0% 0.083 288.8);
Tailwind
colors: {
  custom: {
    50: '#afaad2',
    500: '#8d87bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d87bf;
$custom-light: #afaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87bf",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 246.429,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64992,
    "c": 0.08288,
    "h": 288.8
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#8D87BF
secondary
#D9DBC7
accent
#A93C9D
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8D87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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