#8F87BB#8F87BB

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

Color values

HEX#8F87BB
RGBrgb(143, 135, 187)
HSLhsl(249, 28%, 63%)
HSVhsv(249, 28%, 73%)
CMYKcmyk(23.5%, 27.8%, 0%, 26.7%)
CIE-LABlab(58.75, 14.26, -26.08)
CIE-LCHlch(58.75, 29.73, 298.67°)
OKLaboklab(64.98% 0.0278 -0.0719)
OKLCHoklch(64.98% 0.077 291.1)
XYZxyz(28.9592, 26.7550, 50.6426)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87BB #B3BB87
analogous
#8799BB #8F87BB #A987BB
triadic
#8F87BB #BB8F87 #87BB8F
tetradic
#8F87BB #BB8799 #B3BB87 #87BBA9
square
#8F87BB #BB8799 #B3BB87 #87BBA9
split-complementary
#8F87BB #BBA987 #99BB87
monochromatic
#51487F #6B60A5 #8F87BB #B3AED1 #D8D5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8f87bb;
/* rgb */ color: rgb(143, 135, 187);
/* oklch */ color: oklch(65.0% 0.077 291.1);
Tailwind
colors: {
  custom: {
    50: '#b0aacf',
    500: '#8f87bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f87bb;
$custom-light: #b0aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87bb",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 249.231,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64982,
    "c": 0.07711,
    "h": 291.1
  },
  "luminance": 0.26755
}

Semantic roles & 50–950 ramp

primary
#8F87BB
secondary
#D5D8C6
accent
#A63F96
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8F87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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