#8B87F5#8B87F5

#8B87F5 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.6% C 0.159 H 282.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8B87F5
RGBrgb(139, 135, 245)
HSLhsl(242, 85%, 75%)
HSVhsv(242, 45%, 96%)
CMYKcmyk(43.3%, 44.9%, 0%, 3.9%)
CIE-LABlab(61.14, 28.55, -54.81)
CIE-LCHlch(61.14, 61.80, 297.52°)
OKLaboklab(67.62% 0.0356 -0.1552)
OKLCHoklch(67.62% 0.159 282.9)
XYZxyz(35.7880, 29.4079, 90.1591)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F5 #F1F587
analogous
#87BAF5 #8B87F5 #C287F5
triadic
#8B87F5 #F58B87 #87F58B
tetradic
#8B87F5 #F587BA #F1F587 #87F5C2
square
#8B87F5 #F587BA #F1F587 #87F5C2
split-complementary
#8B87F5 #F5C287 #BAF587
monochromatic
#1E16EC #544FF0 #8B87F5 #C2BFFA #E4E3FD

Accessibility & contrast

On white

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

On black

6.88
#8B87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F5#FFFFFF#000000##000000
##8B87F51.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#699EB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b87f5;
/* rgb */ color: rgb(139, 135, 245);
/* oklch */ color: oklch(67.6% 0.159 282.9);
Tailwind
colors: {
  custom: {
    50: '#b2aaf9',
    500: '#8b87f5',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f5;
$custom-light: #b2aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f5",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 242.182,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.15921,
    "h": 282.9
  },
  "luminance": 0.29409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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