#887FEB#887FEB

#887FEB is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.3% C 0.157 H 285.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#887FEB
RGBrgb(136, 127, 235)
HSLhsl(245, 73%, 71%)
HSVhsv(245, 46%, 92%)
CMYKcmyk(42.1%, 46%, 0%, 7.8%)
CIE-LABlab(58.42, 29.68, -53.61)
CIE-LCHlch(58.42, 61.28, 298.97°)
OKLaboklab(65.33% 0.0406 -0.1518)
OKLCHoklch(65.33% 0.157 285)
XYZxyz(32.7338, 26.4098, 81.9540)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FEB #E2EB7F
analogous
#7FACEB #887FEB #BE7FEB
triadic
#887FEB #EB887F #7FEB88
tetradic
#887FEB #EB7FAC #E2EB7F #7FEBBE
square
#887FEB #EB7FAC #E2EB7F #7FEBBE
split-complementary
#887FEB #EBBE7F #ACEB7F
monochromatic
#2F20CF #574AE3 #887FEB #B9B4F3 #E6E5FB

Accessibility & contrast

On white

3.34
#887FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#887FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FEB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FEB#FFFFFF#000000##000000
##887FEB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#5289E9
Tritanopia (blue-blind)
#6A95AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887feb;
/* rgb */ color: rgb(136, 127, 235);
/* oklch */ color: oklch(65.3% 0.157 285.0);
Tailwind
colors: {
  custom: {
    50: '#afa4f2',
    500: '#887feb',
    950: '#000000',
  },
}
SCSS
$custom: #887feb;
$custom-light: #afa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#887feb",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 245,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65333,
    "c": 0.15711,
    "h": 285
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#887FEB
secondary
#EFF1D5
accent
#D510C5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #887FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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