#8B87F3#8B87F3

#8B87F3 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.5% C 0.156 H 283.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8B87F3
RGBrgb(139, 135, 243)
HSLhsl(242, 82%, 74%)
HSVhsv(242, 44%, 95%)
CMYKcmyk(42.8%, 44.4%, 0%, 4.7%)
CIE-LABlab(61.03, 27.99, -53.87)
CIE-LCHlch(61.03, 60.71, 297.45°)
OKLaboklab(67.5% 0.0353 -0.1524)
OKLCHoklch(67.5% 0.156 283)
XYZxyz(35.4844, 29.2865, 88.5598)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F3 #EFF387
analogous
#87B9F3 #8B87F3 #C187F3
triadic
#8B87F3 #F38B87 #87F38B
tetradic
#8B87F3 #F387B9 #EFF387 #87F3C1
square
#8B87F3 #F387B9 #EFF387 #87F3C1
split-complementary
#8B87F3 #F3C187 #B9F387
monochromatic
#1F18E8 #554FED #8B87F3 #C1BFF9 #E4E3FC

Accessibility & contrast

On white

3.06
#8B87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8B87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F3#FFFFFF#000000##000000
##8B87F31.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#6A9DB1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8b87f3;
/* rgb */ color: rgb(139, 135, 243);
/* oklch */ color: oklch(67.5% 0.156 283.0);
Tailwind
colors: {
  custom: {
    50: '#b2aaf7',
    500: '#8b87f3',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f3;
$custom-light: #b2aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f3",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 242.222,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67504,
    "c": 0.15648,
    "h": 283
  },
  "luminance": 0.29288
}

Semantic roles & 50–950 ramp

primary
#8B87F3
secondary
#F3F4D7
accent
#DE07D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8B87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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