#887AEB#887AEB

#887AEB is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.4% C 0.164 H 286.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#887AEB
RGBrgb(136, 122, 235)
HSLhsl(247, 74%, 70%)
HSVhsv(247, 48%, 92%)
CMYKcmyk(42.1%, 48.1%, 0%, 7.8%)
CIE-LABlab(57.22, 32.60, -55.53)
CIE-LCHlch(57.22, 64.39, 300.42°)
OKLaboklab(64.43% 0.0466 -0.1574)
OKLCHoklch(64.43% 0.164 286.5)
XYZxyz(32.1040, 25.1503, 81.7441)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AEB #DDEB7A
analogous
#7AA4EB #887AEB #C17AEB
triadic
#887AEB #EB887A #7AEB88
tetradic
#887AEB #EB7AA4 #DDEB7A #7AEBC1
square
#887AEB #EB7AA4 #DDEB7A #7AEBC1
split-complementary
#887AEB #EBC17A #A4EB7A
monochromatic
#341FCC #5845E3 #887AEB #B8AFF3 #E7E4FB

Accessibility & contrast

On white

3.48
#887AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#887AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AEB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AEB#FFFFFF#000000##000000
##887AEB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #887aeb;
/* rgb */ color: rgb(136, 122, 235);
/* oklch */ color: oklch(64.4% 0.164 286.5);
Tailwind
colors: {
  custom: {
    50: '#afa0f2',
    500: '#887aeb',
    950: '#000000',
  },
}
SCSS
$custom: #887aeb;
$custom-light: #afa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#887aeb",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 247.434,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.64428,
    "c": 0.16418,
    "h": 286.5
  },
  "luminance": 0.25151
}

Semantic roles & 50–950 ramp

primary
#887AEB
secondary
#ECF0D1
accent
#D610BD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #887AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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