#8D87BB#8D87BB

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

Color values

HEX#8D87BB
RGBrgb(141, 135, 187)
HSLhsl(247, 28%, 63%)
HSVhsv(247, 28%, 73%)
CMYKcmyk(24.6%, 27.8%, 0%, 26.7%)
CIE-LABlab(58.58, 13.64, -26.35)
CIE-LCHlch(58.58, 29.67, 297.37°)
OKLaboklab(64.81% 0.0255 -0.0727)
OKLCHoklch(64.81% 0.077 289.3)
XYZxyz(28.6159, 26.5781, 50.6265)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87BB #B5BB87
analogous
#879BBB #8D87BB #A787BB
triadic
#8D87BB #BB8D87 #87BB8D
tetradic
#8D87BB #BB879B #B5BB87 #87BBA7
square
#8D87BB #BB879B #B5BB87 #87BBA7
split-complementary
#8D87BB #BBA787 #9BBB87
monochromatic
#4F487F #6860A5 #8D87BB #B2AED1 #D7D5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D87BB#FFFFFF#000000##000000
##8D87BB1.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)
#7A8EBD
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#839099
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d87bb;
/* rgb */ color: rgb(141, 135, 187);
/* oklch */ color: oklch(64.8% 0.077 289.3);
Tailwind
colors: {
  custom: {
    50: '#afaacf',
    500: '#8d87bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d87bb;
$custom-light: #afaacf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87bb",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 246.923,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64814,
    "c": 0.07706,
    "h": 289.3
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#8D87BB
secondary
#D6D8C6
accent
#A63F9A
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8D87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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