#887EF8#887EF8

#887EF8 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.9% C 0.176 H 284.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#887EF8
RGBrgb(136, 126, 248)
HSLhsl(245, 90%, 73%)
HSVhsv(245, 49%, 97%)
CMYKcmyk(45.2%, 49.2%, 0%, 2.7%)
CIE-LABlab(58.91, 33.96, -60.03)
CIE-LCHlch(58.91, 68.97, 299.49°)
OKLaboklab(65.94% 0.0431 -0.1706)
OKLCHoklch(65.94% 0.176 284.2)
XYZxyz(34.5525, 26.9317, 92.1665)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EF8 #EEF87E
analogous
#7EB1F8 #887EF8 #C57EF8
triadic
#887EF8 #F8887E #7EF888
tetradic
#887EF8 #F87EB1 #EEF87E #7EF8C5
square
#887EF8 #F87EB1 #EEF87E #7EF8C5
split-complementary
#887EF8 #F8C57E #B1F87E
monochromatic
#1F0DEF #5244F5 #887EF8 #BEB8FB #E4E2FD

Accessibility & contrast

On white

3.29
#887EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#887EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EF8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EF8#FFFFFF#000000##000000
##887EF81.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#438AF5
Tritanopia (blue-blind)
#6398AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #887ef8;
/* rgb */ color: rgb(136, 126, 248);
/* oklch */ color: oklch(65.9% 0.176 284.2);
Tailwind
colors: {
  custom: {
    50: '#b1a3fb',
    500: '#887ef8',
    950: '#000000',
  },
}
SCSS
$custom: #887ef8;
$custom-light: #b1a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#887ef8",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 244.918,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65935,
    "c": 0.17598,
    "h": 284.2
  },
  "luminance": 0.26933
}

Semantic roles & 50–950 ramp

primary
#887EF8
secondary
#F3F6D5
accent
#E600D3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #887EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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