#887AEE#887AEE

#887AEE is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.6% C 0.168 H 286.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#887AEE
RGBrgb(136, 122, 238)
HSLhsl(247, 77%, 71%)
HSVhsv(247, 49%, 93%)
CMYKcmyk(42.9%, 48.7%, 0%, 6.7%)
CIE-LABlab(57.39, 33.45, -56.93)
CIE-LCHlch(57.39, 66.03, 300.43°)
OKLaboklab(64.61% 0.0469 -0.1615)
OKLCHoklch(64.61% 0.168 286.2)
XYZxyz(32.5411, 25.3251, 84.0460)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AEE #E0EE7A
analogous
#7AA6EE #887AEE #C27AEE
triadic
#887AEE #EE887A #7AEE88
tetradic
#887AEE #EE7AA6 #E0EE7A #7AEEC2
square
#887AEE #EE7AA6 #E0EE7A #7AEEC2
split-complementary
#887AEE #EEC27A #A6EE7A
monochromatic
#311BD3 #5744E7 #887AEE #B9B0F5 #E7E4FC

Accessibility & contrast

On white

3.46
#887AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#887AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AEE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AEE#FFFFFF#000000##000000
##887AEE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#4787EB
Tritanopia (blue-blind)
#6992A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #887aee;
/* rgb */ color: rgb(136, 122, 238);
/* oklch */ color: oklch(64.6% 0.168 286.2);
Tailwind
colors: {
  custom: {
    50: '#b0a0f4',
    500: '#887aee',
    950: '#000000',
  },
}
SCSS
$custom: #887aee;
$custom-light: #b0a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#887aee",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 247.241,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64609,
    "c": 0.1682,
    "h": 286.2
  },
  "luminance": 0.25326
}

Semantic roles & 50–950 ramp

primary
#887AEE
secondary
#EEF2D2
accent
#DA0CC1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #887AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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