#887BFB#887BFB

#887BFB is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.184 H 284.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#887BFB
RGBrgb(136, 123, 251)
HSLhsl(246, 94%, 73%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(45.8%, 51%, 0%, 1.6%)
CIE-LABlab(58.38, 36.56, -62.54)
CIE-LCHlch(58.38, 72.44, 300.31°)
OKLaboklab(65.59% 0.0468 -0.178)
OKLCHoklch(65.59% 0.184 284.7)
XYZxyz(34.6438, 26.3636, 94.5114)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BFB #EEFB7B
analogous
#7BAEFB #887BFB #C87BFB
triadic
#887BFB #FB887B #7BFB88
tetradic
#887BFB #FB7BAE #EEFB7B #7BFBC8
square
#887BFB #FB7BAE #EEFB7B #7BFBC8
split-complementary
#887BFB #FBC87B #AEFB7B
monochromatic
#1F07F4 #5240F9 #887BFB #BEB6FD #E4E1FE

Accessibility & contrast

On white

3.35
#887BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#887BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BFB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BFB#FFFFFF#000000##000000
##887BFB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#3988F8
Tritanopia (blue-blind)
#6297AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887bfb;
/* rgb */ color: rgb(136, 123, 251);
/* oklch */ color: oklch(65.6% 0.184 284.7);
Tailwind
colors: {
  custom: {
    50: '#b1a1fd',
    500: '#887bfb',
    950: '#000000',
  },
}
SCSS
$custom: #887bfb;
$custom-light: #b1a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#887bfb",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 246.094,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.18405,
    "h": 284.7
  },
  "luminance": 0.26365
}

Semantic roles & 50–950 ramp

primary
#887BFB
secondary
#F3F6D5
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #887BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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