#887BF5#887BF5

#887BF5 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.2% C 0.176 H 285.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#887BF5
RGBrgb(136, 123, 245)
HSLhsl(246, 86%, 72%)
HSVhsv(246, 50%, 96%)
CMYKcmyk(44.5%, 49.8%, 0%, 3.9%)
CIE-LABlab(58.03, 34.84, -59.79)
CIE-LCHlch(58.03, 69.20, 300.23°)
OKLaboklab(65.22% 0.0464 -0.1699)
OKLCHoklch(65.22% 0.176 285.3)
XYZxyz(33.7129, 25.9913, 89.6090)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887BF5 #E8F57B
analogous
#7BABF5 #887BF5 #C57BF5
triadic
#887BF5 #F5887B #7BF588
tetradic
#887BF5 #F57BAB #E8F57B #7BF5C5
square
#887BF5 #F57BAB #E8F57B #7BF5C5
split-complementary
#887BF5 #F5C57B #ABF57B
monochromatic
#2811E4 #5542F1 #887BF5 #BBB4F9 #E5E3FD

Accessibility & contrast

On white

3.39
#887BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#887BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887BF5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887BF5#FFFFFF#000000##000000
##887BF51.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#4188F2
Tritanopia (blue-blind)
#6595AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #887bf5;
/* rgb */ color: rgb(136, 123, 245);
/* oklch */ color: oklch(65.2% 0.176 285.3);
Tailwind
colors: {
  custom: {
    50: '#b0a1f9',
    500: '#887bf5',
    950: '#000000',
  },
}
SCSS
$custom: #887bf5;
$custom-light: #b0a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#887bf5",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 246.393,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65217,
    "c": 0.17612,
    "h": 285.3
  },
  "luminance": 0.25993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #887BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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