#8B87F6#8B87F6

#8B87F6 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.7% C 0.161 H 282.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8B87F6
RGBrgb(139, 135, 246)
HSLhsl(242, 86%, 75%)
HSVhsv(242, 45%, 96%)
CMYKcmyk(43.5%, 45.1%, 0%, 3.5%)
CIE-LABlab(61.19, 28.84, -55.27)
CIE-LCHlch(61.19, 62.34, 297.55°)
OKLaboklab(67.68% 0.0357 -0.1565)
OKLCHoklch(67.68% 0.161 282.9)
XYZxyz(35.9411, 29.4692, 90.9653)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F6 #F2F687
analogous
#87BBF6 #8B87F6 #C387F6
triadic
#8B87F6 #F68B87 #87F68B
tetradic
#8B87F6 #F687BB #F2F687 #87F6C3
square
#8B87F6 #F687BB #F2F687 #87F6C3
split-complementary
#8B87F6 #F6C387 #BBF687
monochromatic
#1D15ED #544EF2 #8B87F6 #C2C0FA #E3E3FD

Accessibility & contrast

On white

3.05
#8B87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#8B87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F6#FFFFFF#000000##000000
##8B87F61.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97FA
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#699EB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b87f6;
/* rgb */ color: rgb(139, 135, 246);
/* oklch */ color: oklch(67.7% 0.161 282.9);
Tailwind
colors: {
  custom: {
    50: '#b2aafa',
    500: '#8b87f6',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f6;
$custom-light: #b2aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f6",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 242.162,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67677,
    "c": 0.16056,
    "h": 282.9
  },
  "luminance": 0.29471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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