#877BFC#877BFC

#877BFC is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.6% C 0.185 H 284.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#877BFC
RGBrgb(135, 123, 252)
HSLhsl(246, 96%, 74%)
HSVhsv(246, 51%, 99%)
CMYKcmyk(46.4%, 51.2%, 0%, 1.2%)
CIE-LABlab(58.36, 36.63, -63.13)
CIE-LCHlch(58.36, 72.98, 300.12°)
OKLaboklab(65.58% 0.0457 -0.1797)
OKLCHoklch(65.58% 0.185 284.3)
XYZxyz(34.6401, 26.3435, 95.3362)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BFC #F0FC7B
analogous
#7BAFFC #877BFC #C77BFC
triadic
#877BFC #FC877B #7BFC87
tetradic
#877BFC #FC7BAF #F0FC7B #7BFCC7
square
#877BFC #FC7BAF #F0FC7B #7BFCC7
split-complementary
#877BFC #FCC77B #AFFC7B
monochromatic
#1C06F7 #513FFB #877BFC #BDB7FD #E4E1FE

Accessibility & contrast

On white

3.35
#877BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#877BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BFC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BFC#FFFFFF#000000##000000
##877BFC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#3788F9
Tritanopia (blue-blind)
#5F97B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bfc;
/* rgb */ color: rgb(135, 123, 252);
/* oklch */ color: oklch(65.6% 0.185 284.3);
Tailwind
colors: {
  custom: {
    50: '#b0a1fe',
    500: '#877bfc',
    950: '#000000',
  },
}
SCSS
$custom: #877bfc;
$custom-light: #b0a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#877bfc",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 245.581,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6558,
    "c": 0.18545,
    "h": 284.3
  },
  "luminance": 0.26345
}

Semantic roles & 50–950 ramp

primary
#877BFC
secondary
#F3F7D4
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #877BFC

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

Preview Lab → · Contrast checker → · Palette generator →

#877BFC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva