#887EFE#887EFE

#887EFE is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.3% C 0.184 H 283.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#887EFE
RGBrgb(136, 126, 254)
HSLhsl(245, 98%, 75%)
HSVhsv(245, 50%, 100%)
CMYKcmyk(46.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.26, 35.68, -62.78)
CIE-LCHlch(59.26, 72.21, 299.61°)
OKLaboklab(66.31% 0.0436 -0.1787)
OKLCHoklch(66.31% 0.184 283.7)
XYZxyz(35.4983, 27.3100, 97.1476)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EFE #F4FE7E
analogous
#7EB4FE #887EFE #C87EFE
triadic
#887EFE #FE887E #7EFE88
tetradic
#887EFE #FE7EB4 #F4FE7E #7EFEC8
square
#887EFE #FE7EB4 #F4FE7E #7EFEC8
split-complementary
#887EFE #FEC87E #B4FE7E
monochromatic
#1805FD #5041FE #887EFE #C0BBFE #E3E1FF

Accessibility & contrast

On white

3.25
#887EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#887EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EFE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EFE#FFFFFF#000000##000000
##887EFE1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#3B8BFB
Tritanopia (blue-blind)
#609AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #887efe;
/* rgb */ color: rgb(136, 126, 254);
/* oklch */ color: oklch(66.3% 0.184 283.7);
Tailwind
colors: {
  custom: {
    50: '#b1a3ff',
    500: '#887efe',
    950: '#000000',
  },
}
SCSS
$custom: #887efe;
$custom-light: #b1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#887efe",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 244.688,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.18393,
    "h": 283.7
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

primary
#887EFE
secondary
#F4F7D4
accent
#E600D4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #887EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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