#887FE1#887FE1

#887FE1 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.143 H 285.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#887FE1
RGBrgb(136, 127, 225)
HSLhsl(246, 62%, 69%)
HSVhsv(246, 44%, 88%)
CMYKcmyk(39.6%, 43.6%, 0%, 11.8%)
CIE-LABlab(57.89, 26.89, -48.88)
CIE-LCHlch(57.89, 55.79, 298.81°)
OKLaboklab(64.76% 0.0392 -0.1379)
OKLCHoklch(64.76% 0.143 285.9)
XYZxyz(31.3295, 25.8481, 74.5580)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FE1 #D8E17F
analogous
#7FA7E1 #887FE1 #B97FE1
triadic
#887FE1 #E1887F #7FE188
tetradic
#887FE1 #E17FA7 #D8E17F #7FE1B9
square
#887FE1 #E17FA7 #D8E17F #7FE1B9
split-complementary
#887FE1 #E1B97F #A7E17F
monochromatic
#392CBA #5A4DD5 #887FE1 #B6B1ED #E4E2F8

Accessibility & contrast

On white

3.40
#887FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#887FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FE1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FE1#FFFFFF#000000##000000
##887FE11.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE5
Deuteranopia (green-blind)
#5A88DF
Tritanopia (blue-blind)
#6F92A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #887fe1;
/* rgb */ color: rgb(136, 127, 225);
/* oklch */ color: oklch(64.8% 0.143 285.9);
Tailwind
colors: {
  custom: {
    50: '#aea4eb',
    500: '#887fe1',
    950: '#000000',
  },
}
SCSS
$custom: #887fe1;
$custom-light: #aea4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#887fe1",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 245.51,
    "s": 62.025,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64759,
    "c": 0.14339,
    "h": 285.9
  },
  "luminance": 0.25849
}

Semantic roles & 50–950 ramp

primary
#887FE1
secondary
#EAECD0
accent
#CA1CBA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #887FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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