#887BEF#887BEF

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

Color values

HEX#887BEF
RGBrgb(136, 123, 239)
HSLhsl(247, 78%, 71%)
HSVhsv(247, 49%, 94%)
CMYKcmyk(43.1%, 48.5%, 0%, 6.3%)
CIE-LABlab(57.68, 33.14, -57.01)
CIE-LCHlch(57.68, 65.95, 300.17°)
OKLaboklab(64.85% 0.0458 -0.1618)
OKLCHoklch(64.85% 0.168 285.8)
XYZxyz(32.8118, 25.6308, 84.8630)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BEF #E2EF7B
analogous
#7BA8EF #887BEF #C27BEF
triadic
#887BEF #EF887B #7BEF88
tetradic
#887BEF #EF7BA8 #E2EF7B #7BEFC2
square
#887BEF #EF7BA8 #E2EF7B #7BEFC2
split-complementary
#887BEF #EFC27B #A8EF7B
monochromatic
#2F1AD6 #5744E8 #887BEF #B9B2F6 #E6E4FC

Accessibility & contrast

On white

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

On black

6.13
#887BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BEF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BEF#FFFFFF#000000##000000
##887BEF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#6893AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #887bef;
/* rgb */ color: rgb(136, 123, 239);
/* oklch */ color: oklch(64.8% 0.168 285.8);
Tailwind
colors: {
  custom: {
    50: '#b0a1f5',
    500: '#887bef',
    950: '#000000',
  },
}
SCSS
$custom: #887bef;
$custom-light: #b0a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#887bef",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 246.724,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64849,
    "c": 0.16814,
    "h": 285.8
  },
  "luminance": 0.25632
}

Semantic roles & 50–950 ramp

primary
#887BEF
secondary
#EFF2D3
accent
#DB0BC3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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