#887EF4#887EF4

#887EF4 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.171 H 284.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#887EF4
RGBrgb(136, 126, 244)
HSLhsl(245, 84%, 73%)
HSVhsv(245, 48%, 96%)
CMYKcmyk(44.3%, 48.4%, 0%, 4.3%)
CIE-LABlab(58.68, 32.81, -58.19)
CIE-LCHlch(58.68, 66.80, 299.42°)
OKLaboklab(65.69% 0.0428 -0.1652)
OKLCHoklch(65.69% 0.171 284.5)
XYZxyz(33.9386, 26.6861, 88.9331)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EF4 #EAF47E
analogous
#7EAFF4 #887EF4 #C37EF4
triadic
#887EF4 #F4887E #7EF488
tetradic
#887EF4 #F47EAF #EAF47E #7EF4C3
square
#887EF4 #F47EAF #EAF47E #7EF4C3
split-complementary
#887EF4 #F4C37E #AFF47E
monochromatic
#2513E4 #5446EF #887EF4 #BCB6F9 #E5E3FD

Accessibility & contrast

On white

3.31
#887EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#887EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EF4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EF4#FFFFFF#000000##000000
##887EF41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F8
Deuteranopia (green-blind)
#478AF1
Tritanopia (blue-blind)
#6597AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887ef4;
/* rgb */ color: rgb(136, 126, 244);
/* oklch */ color: oklch(65.7% 0.171 284.5);
Tailwind
colors: {
  custom: {
    50: '#b0a3f8',
    500: '#887ef4',
    950: '#000000',
  },
}
SCSS
$custom: #887ef4;
$custom-light: #b0a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#887ef4",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 245.085,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.17064,
    "h": 284.5
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

primary
#887EF4
secondary
#F2F5D6
accent
#E105CE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #887EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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