#8F87CD#8F87CD

#8F87CD is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.8% C 0.103 H 288.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F87CD
RGBrgb(143, 135, 205)
HSLhsl(247, 41%, 67%)
HSVhsv(247, 34%, 80%)
CMYKcmyk(30.2%, 34.1%, 0%, 19.6%)
CIE-LABlab(59.50, 18.76, -35.09)
CIE-LCHlch(59.50, 39.79, 298.13°)
OKLaboklab(65.81% 0.0326 -0.0977)
OKLCHoklch(65.81% 0.103 288.5)
XYZxyz(31.0083, 27.5747, 61.4345)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87CD #C5CD87
analogous
#87A2CD #8F87CD #B287CD
triadic
#8F87CD #CD8F87 #87CD8F
tetradic
#8F87CD #CD87A2 #C5CD87 #87CDB2
square
#8F87CD #CD87A2 #C5CD87 #87CDB2
split-complementary
#8F87CD #CDB287 #A2CD87
monochromatic
#4A409A #675CBB #8F87CD #B7B2DF #E0DDF1

Accessibility & contrast

On white

3.22
#8F87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8F87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87CD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87CD#FFFFFF#000000##000000
##8F87CD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#738ECB
Tritanopia (blue-blind)
#8094A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f87cd;
/* rgb */ color: rgb(143, 135, 205);
/* oklch */ color: oklch(65.8% 0.103 288.5);
Tailwind
colors: {
  custom: {
    50: '#b1aadc',
    500: '#8f87cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f87cd;
$custom-light: #b1aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87cd",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 246.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.10302,
    "h": 288.5
  },
  "luminance": 0.27575
}

Semantic roles & 50–950 ramp

primary
#8F87CD
secondary
#E1E3CD
accent
#B431A5
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8F87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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