#887EF7#887EF7

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

Color values

HEX#887EF7
RGBrgb(136, 126, 247)
HSLhsl(245, 88%, 73%)
HSVhsv(245, 49%, 97%)
CMYKcmyk(44.9%, 49%, 0%, 3.1%)
CIE-LABlab(58.85, 33.67, -59.57)
CIE-LCHlch(58.85, 68.43, 299.47°)
OKLaboklab(65.87% 0.043 -0.1693)
OKLCHoklch(65.87% 0.175 284.3)
XYZxyz(34.3978, 26.8698, 91.3516)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EF7 #EDF77E
analogous
#7EB0F7 #887EF7 #C57EF7
triadic
#887EF7 #F7887E #7EF788
tetradic
#887EF7 #F77EB0 #EDF77E #7EF7C5
square
#887EF7 #F77EB0 #EDF77E #7EF7C5
split-complementary
#887EF7 #F7C57E #B0F77E
monochromatic
#210FEC #5344F3 #887EF7 #BDB8FB #E4E2FD

Accessibility & contrast

On white

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

On black

6.37
#887EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EF7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EF7#FFFFFF#000000##000000
##887EF71.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#6498AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #887ef7;
/* rgb */ color: rgb(136, 126, 247);
/* oklch */ color: oklch(65.9% 0.175 284.3);
Tailwind
colors: {
  custom: {
    50: '#b0a3fa',
    500: '#887ef7',
    950: '#000000',
  },
}
SCSS
$custom: #887ef7;
$custom-light: #b0a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#887ef7",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 244.959,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65874,
    "c": 0.17465,
    "h": 284.3
  },
  "luminance": 0.26871
}

Semantic roles & 50–950 ramp

primary
#887EF7
secondary
#F3F5D6
accent
#E501D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #887EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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