#887FF2#887FF2

#887FF2 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.7% C 0.167 H 284.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#887FF2
RGBrgb(136, 127, 242)
HSLhsl(245, 82%, 72%)
HSVhsv(245, 48%, 95%)
CMYKcmyk(43.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(58.81, 31.66, -56.88)
CIE-LCHlch(58.81, 65.10, 299.10°)
OKLaboklab(65.75% 0.0414 -0.1614)
OKLCHoklch(65.75% 0.167 284.4)
XYZxyz(33.7651, 26.8223, 87.3853)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887FF2 #E9F27F
analogous
#7FAFF2 #887FF2 #C27FF2
triadic
#887FF2 #F2887F #7FF288
tetradic
#887FF2 #F27FAF #E9F27F #7FF2C2
square
#887FF2 #F27FAF #E9F27F #7FF2C2
split-complementary
#887FF2 #F2C27F #AFF27F
monochromatic
#2617E0 #5447EC #887FF2 #BCB7F8 #E5E3FC

Accessibility & contrast

On white

3.30
#887FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#887FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887FF2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887FF2#FFFFFF#000000##000000
##887FF21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#6697AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887ff2;
/* rgb */ color: rgb(136, 127, 242);
/* oklch */ color: oklch(65.7% 0.167 284.4);
Tailwind
colors: {
  custom: {
    50: '#b0a4f7',
    500: '#887ff2',
    950: '#000000',
  },
}
SCSS
$custom: #887ff2;
$custom-light: #b0a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#887ff2",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 244.696,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.16658,
    "h": 284.4
  },
  "luminance": 0.26824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #887FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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