#887FEE#887FEE

#887FEE is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.5% C 0.161 H 284.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#887FEE
RGBrgb(136, 127, 238)
HSLhsl(245, 77%, 72%)
HSVhsv(245, 47%, 93%)
CMYKcmyk(42.9%, 46.6%, 0%, 6.7%)
CIE-LABlab(58.59, 30.53, -55.02)
CIE-LCHlch(58.59, 62.92, 299.03°)
OKLaboklab(65.51% 0.0409 -0.1559)
OKLCHoklch(65.51% 0.161 284.7)
XYZxyz(33.1709, 26.5847, 84.2559)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FEE #E5EE7F
analogous
#7FAEEE #887FEE #C07FEE
triadic
#887FEE #EE887F #7FEE88
tetradic
#887FEE #EE7FAE #E5EE7F #7FEEC0
square
#887FEE #EE7FAE #E5EE7F #7FEEC0
split-complementary
#887FEE #EEC07F #AEEE7F
monochromatic
#2C1CD6 #5649E7 #887FEE #BAB5F5 #E6E4FB

Accessibility & contrast

On white

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

On black

6.32
#887FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FEE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FEE#FFFFFF#000000##000000
##887FEE1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#4F8AEB
Tritanopia (blue-blind)
#6996AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887fee;
/* rgb */ color: rgb(136, 127, 238);
/* oklch */ color: oklch(65.5% 0.161 284.7);
Tailwind
colors: {
  custom: {
    50: '#b0a4f4',
    500: '#887fee',
    950: '#000000',
  },
}
SCSS
$custom: #887fee;
$custom-light: #b0a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#887fee",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 244.865,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6551,
    "c": 0.16117,
    "h": 284.7
  },
  "luminance": 0.26586
}

Semantic roles & 50–950 ramp

primary
#887FEE
secondary
#F0F3D6
accent
#D90DC8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #887FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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