#8C87F0#8C87F0

#8C87F0 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.4% C 0.152 H 283.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8C87F0
RGBrgb(140, 135, 240)
HSLhsl(243, 78%, 74%)
HSVhsv(243, 44%, 94%)
CMYKcmyk(41.7%, 43.8%, 0%, 5.9%)
CIE-LABlab(60.95, 27.38, -52.34)
CIE-LCHlch(60.95, 59.07, 297.62°)
OKLaboklab(67.41% 0.036 -0.1479)
OKLCHoklch(67.41% 0.152 283.7)
XYZxyz(35.2028, 29.1932, 86.2012)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C87F0 #EBF087
analogous
#87B6F0 #8C87F0 #C087F0
triadic
#8C87F0 #F08C87 #87F08C
tetradic
#8C87F0 #F087B6 #EBF087 #87F0C0
square
#8C87F0 #F087B6 #EBF087 #87F0C0
split-complementary
#8C87F0 #F0C087 #B6F087
monochromatic
#251CE1 #5851E9 #8C87F0 #C0BDF7 #E5E4FC

Accessibility & contrast

On white

3.07
#8C87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#8C87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C87F0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C87F0#FFFFFF#000000##000000
##8C87F01.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#6E9CB0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8c87f0;
/* rgb */ color: rgb(140, 135, 240);
/* oklch */ color: oklch(67.4% 0.152 283.7);
Tailwind
colors: {
  custom: {
    50: '#b2aaf5',
    500: '#8c87f0',
    950: '#000000',
  },
}
SCSS
$custom: #8c87f0;
$custom-light: #b2aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c87f0",
  "rgb": {
    "r": 140,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 242.857,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6741,
    "c": 0.15226,
    "h": 283.7
  },
  "luminance": 0.29195
}

Semantic roles & 50–950 ramp

primary
#8C87F0
secondary
#F2F3D8
accent
#DA0BD0
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8C87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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