#8C87F6#8C87F6

#8C87F6 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.8% C 0.160 H 283.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8C87F6
RGBrgb(140, 135, 246)
HSLhsl(243, 86%, 75%)
HSVhsv(243, 45%, 96%)
CMYKcmyk(43.1%, 45.1%, 0%, 3.5%)
CIE-LABlab(61.27, 29.07, -55.15)
CIE-LCHlch(61.27, 62.34, 297.80°)
OKLaboklab(67.75% 0.0369 -0.1561)
OKLCHoklch(67.75% 0.16 283.3)
XYZxyz(36.1089, 29.5557, 90.9731)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C87F6 #F1F687
analogous
#87B9F6 #8C87F6 #C487F6
triadic
#8C87F6 #F68C87 #87F68C
tetradic
#8C87F6 #F687B9 #F1F687 #87F6C4
square
#8C87F6 #F687B9 #F1F687 #87F6C4
split-complementary
#8C87F6 #F6C487 #B9F687
monochromatic
#1F15ED #554EF2 #8C87F6 #C3C0FA #E4E3FD

Accessibility & contrast

On white

3.04
#8C87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8C87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C87F6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C87F6#FFFFFF#000000##000000
##8C87F61.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#6B9EB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8c87f6;
/* rgb */ color: rgb(140, 135, 246);
/* oklch */ color: oklch(67.8% 0.160 283.3);
Tailwind
colors: {
  custom: {
    50: '#b2aafa',
    500: '#8c87f6',
    950: '#000000',
  },
}
SCSS
$custom: #8c87f6;
$custom-light: #b2aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8c87f6",
  "rgb": {
    "r": 140,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 242.703,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67753,
    "c": 0.16044,
    "h": 283.3
  },
  "luminance": 0.29557
}

Semantic roles & 50–950 ramp

primary
#8C87F6
secondary
#F3F5D6
accent
#E303D8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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