#887BF0#887BF0

#887BF0 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.169 H 285.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#887BF0
RGBrgb(136, 123, 240)
HSLhsl(247, 80%, 71%)
HSVhsv(247, 49%, 94%)
CMYKcmyk(43.3%, 48.7%, 0%, 5.9%)
CIE-LABlab(57.74, 33.43, -57.48)
CIE-LCHlch(57.74, 66.49, 300.18°)
OKLaboklab(64.91% 0.0459 -0.1631)
OKLCHoklch(64.91% 0.169 285.7)
XYZxyz(32.9599, 25.6901, 85.6432)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BF0 #E3F07B
analogous
#7BA8F0 #887BF0 #C27BF0
triadic
#887BF0 #F0887B #7BF088
tetradic
#887BF0 #F07BA8 #E3F07B #7BF0C2
square
#887BF0 #F07BA8 #E3F07B #7BF0C2
split-complementary
#887BF0 #F0C27B #A8F07B
monochromatic
#2E19D8 #5644EA #887BF0 #BAB2F6 #E6E4FC

Accessibility & contrast

On white

3.42
#887BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#887BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BF0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BF0#FFFFFF#000000##000000
##887BF01.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#4787ED
Tritanopia (blue-blind)
#6893AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #887bf0;
/* rgb */ color: rgb(136, 123, 240);
/* oklch */ color: oklch(64.9% 0.169 285.7);
Tailwind
colors: {
  custom: {
    50: '#b0a1f5',
    500: '#887bf0',
    950: '#000000',
  },
}
SCSS
$custom: #887bf0;
$custom-light: #b0a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#887bf0",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 246.667,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6491,
    "c": 0.16947,
    "h": 285.7
  },
  "luminance": 0.25691
}

Semantic roles & 50–950 ramp

primary
#887BF0
secondary
#EFF3D4
accent
#DC0AC5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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