#887CFB#887CFB

#887CFB is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.183 H 284.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#887CFB
RGBrgb(136, 124, 251)
HSLhsl(246, 94%, 74%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(45.8%, 50.6%, 0%, 1.6%)
CIE-LABlab(58.61, 35.98, -62.16)
CIE-LCHlch(58.61, 71.82, 300.06°)
OKLaboklab(65.77% 0.0457 -0.1769)
OKLCHoklch(65.77% 0.183 284.5)
XYZxyz(34.7685, 26.6130, 94.5529)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887CFB #EFFB7C
analogous
#7CAFFB #887CFB #C77CFB
triadic
#887CFB #FB887C #7CFB88
tetradic
#887CFB #FB7CAF #EFFB7C #7CFBC7
square
#887CFB #FB7CAF #EFFB7C #7CFBC7
split-complementary
#887CFB #FBC77C #AFFB7C
monochromatic
#1E07F5 #5241F9 #887CFB #BEB7FD #E4E1FE

Accessibility & contrast

On white

3.32
#887CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#887CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887CFB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887CFB#FFFFFF#000000##000000
##887CFB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#3B89F8
Tritanopia (blue-blind)
#6297B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887cfb;
/* rgb */ color: rgb(136, 124, 251);
/* oklch */ color: oklch(65.8% 0.183 284.5);
Tailwind
colors: {
  custom: {
    50: '#b1a2fd',
    500: '#887cfb',
    950: '#000000',
  },
}
SCSS
$custom: #887cfb;
$custom-light: #b1a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#887cfb",
  "rgb": {
    "r": 136,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 245.669,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65769,
    "c": 0.18269,
    "h": 284.5
  },
  "luminance": 0.26615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #887CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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