#8B87F8#8B87F8

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

Color values

HEX#8B87F8
RGBrgb(139, 135, 248)
HSLhsl(242, 89%, 75%)
HSVhsv(242, 46%, 97%)
CMYKcmyk(44%, 45.6%, 0%, 2.7%)
CIE-LABlab(61.30, 29.40, -56.20)
CIE-LCHlch(61.30, 63.43, 297.62°)
OKLaboklab(67.79% 0.036 -0.1593)
OKLCHoklch(67.79% 0.163 282.7)
XYZxyz(36.2497, 29.5926, 92.5907)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F8 #F4F887
analogous
#87BBF8 #8B87F8 #C487F8
triadic
#8B87F8 #F88B87 #87F88B
tetradic
#8B87F8 #F887BB #F4F887 #87F8C4
square
#8B87F8 #F887BB #F4F887 #87F8C4
split-complementary
#8B87F8 #F8C487 #BBF887
monochromatic
#1B13F1 #534DF5 #8B87F8 #C3C1FB #E3E2FD

Accessibility & contrast

On white

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

On black

6.92
#8B87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F8
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F8#FFFFFF#000000##000000
##8B87F81.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#689EB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b87f8;
/* rgb */ color: rgb(139, 135, 248);
/* oklch */ color: oklch(67.8% 0.163 282.7);
Tailwind
colors: {
  custom: {
    50: '#b2aafb',
    500: '#8b87f8',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f8;
$custom-light: #b2aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f8",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 242.124,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67793,
    "c": 0.16327,
    "h": 282.7
  },
  "luminance": 0.29594
}

Semantic roles & 50–950 ramp

primary
#8B87F8
secondary
#F4F5D6
accent
#E600DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8B87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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