#8F87CB#8F87CB

#8F87CB is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.7% C 0.100 H 288.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F87CB
RGBrgb(143, 135, 203)
HSLhsl(247, 40%, 66%)
HSVhsv(247, 33%, 80%)
CMYKcmyk(29.6%, 33.5%, 0%, 20.4%)
CIE-LABlab(59.41, 18.25, -34.10)
CIE-LCHlch(59.41, 38.68, 298.16°)
OKLaboklab(65.72% 0.0321 -0.0949)
OKLCHoklch(65.72% 0.1 288.7)
XYZxyz(30.7684, 27.4787, 60.1712)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87CB #C3CB87
analogous
#87A1CB #8F87CB #B187CB
triadic
#8F87CB #CB8F87 #87CB8F
tetradic
#8F87CB #CB87A1 #C3CB87 #87CBB1
square
#8F87CB #CB87A1 #C3CB87 #87CBB1
split-complementary
#8F87CB #CBB187 #A1CB87
monochromatic
#4B4196 #675CB8 #8F87CB #B7B2DE #DFDCF0

Accessibility & contrast

On white

3.23
#8F87CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8F87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87CB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87CB#FFFFFF#000000##000000
##8F87CB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#748DC9
Tritanopia (blue-blind)
#8193A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f87cb;
/* rgb */ color: rgb(143, 135, 203);
/* oklch */ color: oklch(65.7% 0.100 288.7);
Tailwind
colors: {
  custom: {
    50: '#b1aadb',
    500: '#8f87cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f87cb;
$custom-light: #b1aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87cb",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 247.059,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.10017,
    "h": 288.7
  },
  "luminance": 0.27479
}

Semantic roles & 50–950 ramp

primary
#8F87CB
secondary
#DFE2CC
accent
#B333A4
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8F87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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