#887AEF#887AEF

#887AEF is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.170 H 286.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#887AEF
RGBrgb(136, 122, 239)
HSLhsl(247, 79%, 71%)
HSVhsv(247, 49%, 94%)
CMYKcmyk(43.1%, 49%, 0%, 6.3%)
CIE-LABlab(57.45, 33.73, -57.39)
CIE-LCHlch(57.45, 66.57, 300.44°)
OKLaboklab(64.67% 0.047 -0.1629)
OKLCHoklch(64.67% 0.17 286.1)
XYZxyz(32.6884, 25.3840, 84.8219)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AEF #E1EF7A
analogous
#7AA7EF #887AEF #C27AEF
triadic
#887AEF #EF887A #7AEF88
tetradic
#887AEF #EF7AA7 #E1EF7A #7AEFC2
square
#887AEF #EF7AA7 #E1EF7A #7AEFC2
split-complementary
#887AEF #EFC27A #A7EF7A
monochromatic
#301AD5 #5743E8 #887AEF #B9B1F6 #E7E4FC

Accessibility & contrast

On white

3.46
#887AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#887AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AEF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AEF#FFFFFF#000000##000000
##887AEF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#4687EC
Tritanopia (blue-blind)
#6992A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #887aef;
/* rgb */ color: rgb(136, 122, 239);
/* oklch */ color: oklch(64.7% 0.170 286.1);
Tailwind
colors: {
  custom: {
    50: '#b0a0f5',
    500: '#887aef',
    950: '#000000',
  },
}
SCSS
$custom: #887aef;
$custom-light: #b0a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#887aef",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 247.179,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.16953,
    "h": 286.1
  },
  "luminance": 0.25385
}

Semantic roles & 50–950 ramp

primary
#887AEF
secondary
#EEF2D3
accent
#DB0BC2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #887AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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