#887AEA#887AEA

#887AEA is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.163 H 286.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#887AEA
RGBrgb(136, 122, 234)
HSLhsl(248, 73%, 70%)
HSVhsv(248, 48%, 92%)
CMYKcmyk(41.9%, 47.9%, 0%, 8.2%)
CIE-LABlab(57.17, 32.32, -55.06)
CIE-LCHlch(57.17, 63.85, 300.41°)
OKLaboklab(64.37% 0.0465 -0.156)
OKLCHoklch(64.37% 0.163 286.6)
XYZxyz(31.9599, 25.0926, 80.9854)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AEA #DCEA7A
analogous
#7AA4EA #887AEA #C07AEA
triadic
#887AEA #EA887A #7AEA88
tetradic
#887AEA #EA7AA4 #DCEA7A #7AEAC0
square
#887AEA #EA7AA4 #DCEA7A #7AEAC0
split-complementary
#887AEA #EAC07A #A4EA7A
monochromatic
#3520CA #5945E2 #887AEA #B7AFF2 #E7E4FB

Accessibility & contrast

On white

3.49
#887AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#887AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AEA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AEA#FFFFFF#000000##000000
##887AEA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#6B91A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #887aea;
/* rgb */ color: rgb(136, 122, 234);
/* oklch */ color: oklch(64.4% 0.163 286.6);
Tailwind
colors: {
  custom: {
    50: '#afa0f1',
    500: '#887aea',
    950: '#000000',
  },
}
SCSS
$custom: #887aea;
$custom-light: #afa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#887aea",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 247.5,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64367,
    "c": 0.16283,
    "h": 286.6
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#887AEA
secondary
#ECF0D0
accent
#D511BC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #887AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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