#887BF7#887BF7

#887BF7 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.3% C 0.179 H 285.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#887BF7
RGBrgb(136, 123, 247)
HSLhsl(246, 89%, 73%)
HSVhsv(246, 50%, 97%)
CMYKcmyk(44.9%, 50.2%, 0%, 3.1%)
CIE-LABlab(58.15, 35.41, -60.71)
CIE-LCHlch(58.15, 70.28, 300.26°)
OKLaboklab(65.34% 0.0465 -0.1726)
OKLCHoklch(65.34% 0.179 285.1)
XYZxyz(34.0199, 26.1141, 91.2256)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BF7 #EAF77B
analogous
#7BACF7 #887BF7 #C67BF7
triadic
#887BF7 #F7887B #7BF788
tetradic
#887BF7 #F77BAC #EAF77B #7BF7C6
square
#887BF7 #F77BAC #EAF77B #7BF7C6
split-complementary
#887BF7 #F7C67B #ACF77B
monochromatic
#250EE9 #5441F4 #887BF7 #BCB5FA #E5E2FD

Accessibility & contrast

On white

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

On black

6.22
#887BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BF7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BF7#FFFFFF#000000##000000
##887BF71.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#3E88F4
Tritanopia (blue-blind)
#6495AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887bf7;
/* rgb */ color: rgb(136, 123, 247);
/* oklch */ color: oklch(65.3% 0.179 285.1);
Tailwind
colors: {
  custom: {
    50: '#b1a1fa',
    500: '#887bf7',
    950: '#000000',
  },
}
SCSS
$custom: #887bf7;
$custom-light: #b1a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#887bf7",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 246.29,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65342,
    "c": 0.17878,
    "h": 285.1
  },
  "luminance": 0.26116
}

Semantic roles & 50–950 ramp

primary
#887BF7
secondary
#F2F5D6
accent
#E500CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #887BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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