#887EFD#887EFD

#887EFD is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.2% C 0.183 H 283.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#887EFD
RGBrgb(136, 126, 253)
HSLhsl(245, 97%, 74%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(46.2%, 50.2%, 0%, 0.8%)
CIE-LABlab(59.20, 35.39, -62.32)
CIE-LCHlch(59.20, 71.67, 299.59°)
OKLaboklab(66.25% 0.0435 -0.1773)
OKLCHoklch(66.25% 0.183 283.8)
XYZxyz(35.3386, 27.2461, 96.3065)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EFD #F3FD7E
analogous
#7EB4FD #887EFD #C77EFD
triadic
#887EFD #FD887E #7EFD88
tetradic
#887EFD #FD7EB4 #F3FD7E #7EFDC7
square
#887EFD #FD7EB4 #F3FD7E #7EFDC7
split-complementary
#887EFD #FDC77E #B4FD7E
monochromatic
#1905FB #5042FC #887EFD #C0BAFE #E3E1FF

Accessibility & contrast

On white

3.26
#887EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#887EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EFD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EFD#FFFFFF#000000##000000
##887EFD1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#3D8AFA
Tritanopia (blue-blind)
#6099B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #887efd;
/* rgb */ color: rgb(136, 126, 253);
/* oklch */ color: oklch(66.2% 0.183 283.8);
Tailwind
colors: {
  custom: {
    50: '#b1a3ff',
    500: '#887efd',
    950: '#000000',
  },
}
SCSS
$custom: #887efd;
$custom-light: #b1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#887efd",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 244.724,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66247,
    "c": 0.18261,
    "h": 283.8
  },
  "luminance": 0.27248
}

Semantic roles & 50–950 ramp

primary
#887EFD
secondary
#F4F7D4
accent
#E600D3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #887EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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