#887BEA#887BEA

#887BEA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.161 H 286.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#887BEA
RGBrgb(136, 123, 234)
HSLhsl(247, 73%, 70%)
HSVhsv(247, 47%, 92%)
CMYKcmyk(41.9%, 47.4%, 0%, 8.2%)
CIE-LABlab(57.40, 31.74, -54.68)
CIE-LCHlch(57.40, 63.22, 300.13°)
OKLaboklab(64.55% 0.0453 -0.1549)
OKLCHoklch(64.55% 0.161 286.3)
XYZxyz(32.0834, 25.3395, 81.0265)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BEA #DDEA7B
analogous
#7BA6EA #887BEA #BF7BEA
triadic
#887BEA #EA887B #7BEA88
tetradic
#887BEA #EA7BA6 #DDEA7B #7BEABF
square
#887BEA #EA7BA6 #DDEA7B #7BEABF
split-complementary
#887BEA #EABF7B #A6EA7B
monochromatic
#3420CA #5846E2 #887BEA #B8B0F2 #E7E5FB

Accessibility & contrast

On white

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

On black

6.07
#887BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BEA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BEA#FFFFFF#000000##000000
##887BEA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#6B92A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #887bea;
/* rgb */ color: rgb(136, 123, 234);
/* oklch */ color: oklch(64.5% 0.161 286.3);
Tailwind
colors: {
  custom: {
    50: '#afa1f1',
    500: '#887bea',
    950: '#000000',
  },
}
SCSS
$custom: #887bea;
$custom-light: #afa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#887bea",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 247.027,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.64547,
    "c": 0.16141,
    "h": 286.3
  },
  "luminance": 0.25341
}

Semantic roles & 50–950 ramp

primary
#887BEA
secondary
#ECF0D1
accent
#D511BE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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