#887FFB#887FFB

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

Color values

HEX#887FFB
RGBrgb(136, 127, 251)
HSLhsl(244, 94%, 74%)
HSVhsv(244, 49%, 98%)
CMYKcmyk(45.8%, 49.4%, 0%, 1.6%)
CIE-LABlab(59.32, 34.23, -61.03)
CIE-LCHlch(59.32, 69.98, 299.29°)
OKLaboklab(66.3% 0.0422 -0.1735)
OKLCHoklch(66.3% 0.179 283.7)
XYZxyz(35.1502, 27.3764, 94.6802)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FFB #F2FB7F
analogous
#7FB4FB #887FFB #C67FFB
triadic
#887FFB #FB887F #7FFB88
tetradic
#887FFB #FB7FB4 #F2FB7F #7FFBC6
square
#887FFB #FB7FB4 #F2FB7F #7FFBC6
split-complementary
#887FFB #FBC67F #B4FB7F
monochromatic
#1A08F7 #5144F9 #887FFB #BFBAFD #E3E1FE

Accessibility & contrast

On white

3.24
#887FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#887FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FFB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FFB#FFFFFF#000000##000000
##887FFB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#418BF8
Tritanopia (blue-blind)
#6199B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #887ffb;
/* rgb */ color: rgb(136, 127, 251);
/* oklch */ color: oklch(66.3% 0.179 283.7);
Tailwind
colors: {
  custom: {
    50: '#b1a4fd',
    500: '#887ffb',
    950: '#000000',
  },
}
SCSS
$custom: #887ffb;
$custom-light: #b1a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#887ffb",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 244.355,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66299,
    "c": 0.17861,
    "h": 283.7
  },
  "luminance": 0.27378
}

Semantic roles & 50–950 ramp

primary
#887FFB
secondary
#F4F6D5
accent
#E600D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #887FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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