#887BEE#887BEE

#887BEE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.167 H 285.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#887BEE
RGBrgb(136, 123, 238)
HSLhsl(247, 77%, 71%)
HSVhsv(247, 48%, 93%)
CMYKcmyk(42.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(57.63, 32.86, -56.55)
CIE-LCHlch(57.63, 65.40, 300.16°)
OKLaboklab(64.79% 0.0457 -0.1604)
OKLCHoklch(64.79% 0.167 285.9)
XYZxyz(32.6645, 25.5719, 84.0871)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BEE #E1EE7B
analogous
#7BA7EE #887BEE #C27BEE
triadic
#887BEE #EE887B #7BEE88
tetradic
#887BEE #EE7BA7 #E1EE7B #7BEEC2
square
#887BEE #EE7BA7 #E1EE7B #7BEEC2
split-complementary
#887BEE #EEC27B #A7EE7B
monochromatic
#301BD3 #5745E7 #887BEE #B9B1F5 #E7E4FC

Accessibility & contrast

On white

3.43
#887BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#887BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BEE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BEE#FFFFFF#000000##000000
##887BEE1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#6993A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #887bee;
/* rgb */ color: rgb(136, 123, 238);
/* oklch */ color: oklch(64.8% 0.167 285.9);
Tailwind
colors: {
  custom: {
    50: '#b0a1f4',
    500: '#887bee',
    950: '#000000',
  },
}
SCSS
$custom: #887bee;
$custom-light: #b0a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#887bee",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 246.783,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64788,
    "c": 0.16679,
    "h": 285.9
  },
  "luminance": 0.25573
}

Semantic roles & 50–950 ramp

primary
#887BEE
secondary
#EEF2D3
accent
#D90CC2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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