#887AEC#887AEC

#887AEC is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.5% C 0.166 H 286.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#887AEC
RGBrgb(136, 122, 236)
HSLhsl(247, 75%, 70%)
HSVhsv(247, 48%, 93%)
CMYKcmyk(42.4%, 48.3%, 0%, 7.5%)
CIE-LABlab(57.28, 32.88, -56.00)
CIE-LCHlch(57.28, 64.94, 300.42°)
OKLaboklab(64.49% 0.0467 -0.1588)
OKLCHoklch(64.49% 0.166 286.4)
XYZxyz(32.2489, 25.2082, 82.5071)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AEC #DEEC7A
analogous
#7AA5EC #887AEC #C17AEC
triadic
#887AEC #EC887A #7AEC88
tetradic
#887AEC #EC7AA5 #DEEC7A #7AECC1
square
#887AEC #EC7AA5 #DEEC7A #7AECC1
split-complementary
#887AEC #ECC17A #A5EC7A
monochromatic
#331DCE #5844E4 #887AEC #B8B0F4 #E7E4FB

Accessibility & contrast

On white

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

On black

6.04
#887AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AEC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AEC#FFFFFF#000000##000000
##887AEC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#6A92A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #887aec;
/* rgb */ color: rgb(136, 122, 236);
/* oklch */ color: oklch(64.5% 0.166 286.4);
Tailwind
colors: {
  custom: {
    50: '#b0a0f3',
    500: '#887aec',
    950: '#000000',
  },
}
SCSS
$custom: #887aec;
$custom-light: #b0a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#887aec",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 247.368,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.16553,
    "h": 286.4
  },
  "luminance": 0.25209
}

Semantic roles & 50–950 ramp

primary
#887AEC
secondary
#EDF1D1
accent
#D70EBE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #887AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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