#8B87F0#8B87F0

#8B87F0 is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.3% C 0.152 H 283.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8B87F0
RGBrgb(139, 135, 240)
HSLhsl(242, 78%, 74%)
HSVhsv(242, 44%, 94%)
CMYKcmyk(42.1%, 43.8%, 0%, 5.9%)
CIE-LABlab(60.88, 27.14, -52.47)
CIE-LCHlch(60.88, 59.07, 297.35°)
OKLaboklab(67.33% 0.0349 -0.1483)
OKLCHoklch(67.33% 0.152 283.2)
XYZxyz(35.0350, 29.1067, 86.1933)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F0 #ECF087
analogous
#87B7F0 #8B87F0 #BF87F0
triadic
#8B87F0 #F08B87 #87F08B
tetradic
#8B87F0 #F087B7 #ECF087 #87F0BF
square
#8B87F0 #F087B7 #ECF087 #87F0BF
split-complementary
#8B87F0 #F0BF87 #B7F087
monochromatic
#241CE1 #5651E9 #8B87F0 #C0BDF7 #E5E4FC

Accessibility & contrast

On white

3.08
#8B87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8B87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F0#FFFFFF#000000##000000
##8B87F01.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b87f0;
/* rgb */ color: rgb(139, 135, 240);
/* oklch */ color: oklch(67.3% 0.152 283.2);
Tailwind
colors: {
  custom: {
    50: '#b1aaf5',
    500: '#8b87f0',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f0;
$custom-light: #b1aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f0",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 242.286,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67333,
    "c": 0.15238,
    "h": 283.2
  },
  "luminance": 0.29108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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