#8F87BF#8F87BF

#8F87BF is a light, moderate blue. Relative luminance 0.269; OKLCH L 65.2% C 0.083 H 290.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F87BF
RGBrgb(143, 135, 191)
HSLhsl(249, 30%, 64%)
HSVhsv(249, 29%, 75%)
CMYKcmyk(25.1%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.91, 15.24, -28.10)
CIE-LCHlch(58.91, 31.97, 298.47°)
OKLaboklab(65.16% 0.029 -0.0777)
OKLCHoklch(65.16% 0.083 290.4)
XYZxyz(29.3933, 26.9287, 52.9293)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87BF #B7BF87
analogous
#879BBF #8F87BF #AB87BF
triadic
#8F87BF #BF8F87 #87BF8F
tetradic
#8F87BF #BF879B #B7BF87 #87BFAB
square
#8F87BF #BF879B #B7BF87 #87BFAB
split-complementary
#8F87BF #BFAB87 #9BBF87
monochromatic
#504785 #6A5FAA #8F87BF #B4AFD4 #DAD7EA

Accessibility & contrast

On white

3.29
#8F87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8F87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87BF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87BF#FFFFFF#000000##000000
##8F87BF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FC1
Deuteranopia (green-blind)
#798DBE
Tritanopia (blue-blind)
#85909B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f87bf;
/* rgb */ color: rgb(143, 135, 191);
/* oklch */ color: oklch(65.2% 0.083 290.4);
Tailwind
colors: {
  custom: {
    50: '#b1aad2',
    500: '#8f87bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f87bf;
$custom-light: #b1aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87bf",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 248.571,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.0829,
    "h": 290.4
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#8F87BF
secondary
#D8DBC7
accent
#A93C9A
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#111014
muted
#807F82

Preview Lab

Preview with #8F87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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