#887EF2#887EF2

#887EF2 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.168 H 284.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#887EF2
RGBrgb(136, 126, 242)
HSLhsl(245, 82%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(43.8%, 47.9%, 0%, 5.1%)
CIE-LABlab(58.57, 32.25, -57.26)
CIE-LCHlch(58.57, 65.72, 299.38°)
OKLaboklab(65.57% 0.0426 -0.1625)
OKLCHoklch(65.57% 0.168 284.7)
XYZxyz(33.6365, 26.5653, 87.3425)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887EF2 #E8F27E
analogous
#7EAEF2 #887EF2 #C27EF2
triadic
#887EF2 #F2887E #7EF288
tetradic
#887EF2 #F27EAE #E8F27E #7EF2C2
square
#887EF2 #F27EAE #E8F27E #7EF2C2
split-complementary
#887EF2 #F2C27E #AEF27E
monochromatic
#2816DF #5546EC #887EF2 #BBB6F8 #E5E3FC

Accessibility & contrast

On white

3.33
#887EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#887EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887EF2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887EF2#FFFFFF#000000##000000
##887EF21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#6796AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887ef2;
/* rgb */ color: rgb(136, 126, 242);
/* oklch */ color: oklch(65.6% 0.168 284.7);
Tailwind
colors: {
  custom: {
    50: '#b0a3f7',
    500: '#887ef2',
    950: '#000000',
  },
}
SCSS
$custom: #887ef2;
$custom-light: #b0a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#887ef2",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 245.172,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65569,
    "c": 0.16797,
    "h": 284.7
  },
  "luminance": 0.26567
}

Semantic roles & 50–950 ramp

primary
#887EF2
secondary
#F2F4D7
accent
#DE07CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #887EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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