#887DEC#887DEC

#887DEC is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.161 H 285.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#887DEC
RGBrgb(136, 125, 236)
HSLhsl(246, 74%, 71%)
HSVhsv(246, 47%, 93%)
CMYKcmyk(42.4%, 47%, 0%, 7.5%)
CIE-LABlab(58.00, 31.13, -54.85)
CIE-LCHlch(58.00, 63.07, 299.58°)
OKLaboklab(65.03% 0.0431 -0.1554)
OKLCHoklch(65.03% 0.161 285.5)
XYZxyz(32.6229, 25.9563, 82.6318)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887DEC #E1EC7D
analogous
#7DA9EC #887DEC #BF7DEC
triadic
#887DEC #EC887D #7DEC88
tetradic
#887DEC #EC7DA9 #E1EC7D #7DECBF
square
#887DEC #EC7DA9 #E1EC7D #7DECBF
split-complementary
#887DEC #ECBF7D #A9EC7D
monochromatic
#301ED0 #5748E4 #887DEC #B9B2F4 #E7E4FB

Accessibility & contrast

On white

3.39
#887DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#887DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887DEC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887DEC#FFFFFF#000000##000000
##887DEC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#6A94A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #887dec;
/* rgb */ color: rgb(136, 125, 236);
/* oklch */ color: oklch(65.0% 0.161 285.5);
Tailwind
colors: {
  custom: {
    50: '#afa2f3',
    500: '#887dec',
    950: '#000000',
  },
}
SCSS
$custom: #887dec;
$custom-light: #afa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#887dec",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 245.946,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65028,
    "c": 0.16128,
    "h": 285.5
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

primary
#887DEC
secondary
#EEF1D3
accent
#D70FC3
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #887DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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