#887BF8#887BF8

#887BF8 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.4% C 0.180 H 285.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#887BF8
RGBrgb(136, 123, 248)
HSLhsl(246, 90%, 73%)
HSVhsv(246, 50%, 97%)
CMYKcmyk(45.2%, 50.4%, 0%, 2.7%)
CIE-LABlab(58.20, 35.70, -61.17)
CIE-LCHlch(58.20, 70.82, 300.27°)
OKLaboklab(65.41% 0.0466 -0.174)
OKLCHoklch(65.41% 0.18 285)
XYZxyz(34.1746, 26.1760, 92.0405)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BF8 #EBF87B
analogous
#7BACF8 #887BF8 #C67BF8
triadic
#887BF8 #F8887B #7BF888
tetradic
#887BF8 #F87BAC #EBF87B #7BF8C6
square
#887BF8 #F87BAC #EBF87B #7BF8C6
split-complementary
#887BF8 #F8C67B #ACF87B
monochromatic
#240DEC #5441F5 #887BF8 #BCB5FB #E5E2FD

Accessibility & contrast

On white

3.37
#887BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#887BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BF8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BF8#FFFFFF#000000##000000
##887BF81.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FC
Deuteranopia (green-blind)
#3D88F5
Tritanopia (blue-blind)
#6396AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887bf8;
/* rgb */ color: rgb(136, 123, 248);
/* oklch */ color: oklch(65.4% 0.180 285.0);
Tailwind
colors: {
  custom: {
    50: '#b1a1fb',
    500: '#887bf8',
    950: '#000000',
  },
}
SCSS
$custom: #887bf8;
$custom-light: #b1a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#887bf8",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 246.24,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65405,
    "c": 0.18009,
    "h": 285
  },
  "luminance": 0.26177
}

Semantic roles & 50–950 ramp

primary
#887BF8
secondary
#F2F6D5
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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