#887CFE#887CFE

#887CFE is a light, vivid blue. Relative luminance 0.268; OKLCH L 66.0% C 0.187 H 284.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#887CFE
RGBrgb(136, 124, 254)
HSLhsl(246, 98%, 74%)
HSVhsv(246, 51%, 100%)
CMYKcmyk(46.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(58.79, 36.84, -63.53)
CIE-LCHlch(58.79, 73.44, 300.11°)
OKLaboklab(65.96% 0.0459 -0.1809)
OKLCHoklch(65.96% 0.187 284.2)
XYZxyz(35.2451, 26.8037, 97.0632)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887CFE #F2FE7C
analogous
#7CB1FE #887CFE #C97CFE
triadic
#887CFE #FE887C #7CFE88
tetradic
#887CFE #FE7CB1 #F2FE7C #7CFEC9
square
#887CFE #FE7CB1 #F2FE7C #7CFEC9
split-complementary
#887CFE #FEC97C #B1FE7C
monochromatic
#1A03FD #513FFE #887CFE #BFB9FE #E3E1FF

Accessibility & contrast

On white

3.30
#887CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#887CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887CFE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887CFE#FFFFFF#000000##000000
##887CFE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3789FB
Tritanopia (blue-blind)
#6098B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887cfe;
/* rgb */ color: rgb(136, 124, 254);
/* oklch */ color: oklch(66.0% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#b1a2ff',
    500: '#887cfe',
    950: '#000000',
  },
}
SCSS
$custom: #887cfe;
$custom-light: #b1a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#887cfe",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 245.538,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65959,
    "c": 0.18663,
    "h": 284.2
  },
  "luminance": 0.26805
}

Semantic roles & 50–950 ramp

primary
#887CFE
secondary
#F4F7D4
accent
#E600D0
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #887CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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