#887BEC#887BEC

#887BEC is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.7% C 0.164 H 286.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#887BEC
RGBrgb(136, 123, 236)
HSLhsl(247, 75%, 70%)
HSVhsv(247, 48%, 93%)
CMYKcmyk(42.4%, 47.9%, 0%, 7.5%)
CIE-LABlab(57.52, 32.30, -55.62)
CIE-LCHlch(57.52, 64.31, 300.15°)
OKLaboklab(64.67% 0.0455 -0.1577)
OKLCHoklch(64.67% 0.164 286.1)
XYZxyz(32.3723, 25.4550, 82.5482)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BEC #DFEC7B
analogous
#7BA6EC #887BEC #C17BEC
triadic
#887BEC #EC887B #7BEC88
tetradic
#887BEC #EC7BA6 #DFEC7B #7BECC1
square
#887BEC #EC7BA6 #DFEC7B #7BECC1
split-complementary
#887BEC #ECC17B #A6EC7B
monochromatic
#321ECF #5846E4 #887BEC #B8B0F4 #E7E4FB

Accessibility & contrast

On white

3.45
#887BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#887BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BEC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BEC#FFFFFF#000000##000000
##887BEC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#6A92A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #887bec;
/* rgb */ color: rgb(136, 123, 236);
/* oklch */ color: oklch(64.7% 0.164 286.1);
Tailwind
colors: {
  custom: {
    50: '#b0a1f3',
    500: '#887bec',
    950: '#000000',
  },
}
SCSS
$custom: #887bec;
$custom-light: #b0a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#887bec",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 246.903,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.16411,
    "h": 286.1
  },
  "luminance": 0.25456
}

Semantic roles & 50–950 ramp

primary
#887BEC
secondary
#EDF1D2
accent
#D70FC0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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