#8F87C2#8F87C2

#8F87C2 is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.3% C 0.087 H 290.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8F87C2
RGBrgb(143, 135, 194)
HSLhsl(248, 33%, 65%)
HSVhsv(248, 30%, 76%)
CMYKcmyk(26.3%, 30.4%, 0%, 23.9%)
CIE-LABlab(59.03, 15.98, -29.61)
CIE-LCHlch(59.03, 33.65, 298.36°)
OKLaboklab(65.3% 0.0298 -0.082)
OKLCHoklch(65.3% 0.087 290)
XYZxyz(29.7269, 27.0621, 54.6858)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F87C2 #BAC287
analogous
#879DC2 #8F87C2 #AD87C2
triadic
#8F87C2 #C28F87 #87C28F
tetradic
#8F87C2 #C2879D #BAC287 #87C2AD
square
#8F87C2 #C2879D #BAC287 #87C2AD
split-complementary
#8F87C2 #C2AD87 #9DC287
monochromatic
#4F4689 #695EAD #8F87C2 #B5B0D7 #DBD8EB

Accessibility & contrast

On white

3.27
#8F87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8F87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F87C2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F87C2#FFFFFF#000000##000000
##8F87C21.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC4
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#84919C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f87c2;
/* rgb */ color: rgb(143, 135, 194);
/* oklch */ color: oklch(65.3% 0.087 290.0);
Tailwind
colors: {
  custom: {
    50: '#b1aad4',
    500: '#8f87c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f87c2;
$custom-light: #b1aad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f87c2",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 248.136,
    "s": 32.597,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65295,
    "c": 0.08724,
    "h": 290
  },
  "luminance": 0.27063
}

Semantic roles & 50–950 ramp

primary
#8F87C2
secondary
#DADDC8
accent
#AB3A9C
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#111014
muted
#807F83

Preview Lab

Preview with #8F87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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