#887FEF#887FEF

#887FEF is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.163 H 284.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#887FEF
RGBrgb(136, 127, 239)
HSLhsl(245, 78%, 72%)
HSVhsv(245, 47%, 94%)
CMYKcmyk(43.1%, 46.9%, 0%, 6.3%)
CIE-LABlab(58.64, 30.81, -55.48)
CIE-LCHlch(58.64, 63.46, 299.04°)
OKLaboklab(65.57% 0.041 -0.1573)
OKLCHoklch(65.57% 0.163 284.6)
XYZxyz(33.3182, 26.6436, 85.0318)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FEF #E6EF7F
analogous
#7FAEEF #887FEF #C07FEF
triadic
#887FEF #EF887F #7FEF88
tetradic
#887FEF #EF7FAE #E6EF7F #7FEFC0
square
#887FEF #EF7FAE #E6EF7F #7FEFC0
split-complementary
#887FEF #EFC07F #AEEF7F
monochromatic
#2A1BD9 #5549E8 #887FEF #BBB5F6 #E6E4FC

Accessibility & contrast

On white

3.32
#887FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#887FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FEF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FEF#FFFFFF#000000##000000
##887FEF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#4E8AEC
Tritanopia (blue-blind)
#6896AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887fef;
/* rgb */ color: rgb(136, 127, 239);
/* oklch */ color: oklch(65.6% 0.163 284.6);
Tailwind
colors: {
  custom: {
    50: '#b0a4f5',
    500: '#887fef',
    950: '#000000',
  },
}
SCSS
$custom: #887fef;
$custom-light: #b0a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#887fef",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 244.821,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6557,
    "c": 0.16253,
    "h": 284.6
  },
  "luminance": 0.26645
}

Semantic roles & 50–950 ramp

primary
#887FEF
secondary
#F1F3D7
accent
#DA0BC9
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #887FEF

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

Preview Lab → · Contrast checker → · Palette generator →

#887FEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva