#877BFB#877BFB

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

Color values

HEX#877BFB
RGBrgb(135, 123, 251)
HSLhsl(246, 94%, 73%)
HSVhsv(246, 51%, 98%)
CMYKcmyk(46.2%, 51%, 0%, 1.6%)
CIE-LABlab(58.30, 36.34, -62.67)
CIE-LCHlch(58.30, 72.44, 300.11°)
OKLaboklab(65.52% 0.0456 -0.1784)
OKLCHoklch(65.52% 0.184 284.3)
XYZxyz(34.4821, 26.2803, 94.5038)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BFB #EFFB7B
analogous
#7BAFFB #877BFB #C77BFB
triadic
#877BFB #FB877B #7BFB87
tetradic
#877BFB #FB7BAF #EFFB7B #7BFBC7
square
#877BFB #FB7BAF #EFFB7B #7BFBC7
split-complementary
#877BFB #FBC77B #AFFB7B
monochromatic
#1E07F4 #5140F9 #877BFB #BDB6FD #E4E1FE

Accessibility & contrast

On white

3.36
#877BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#877BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BFB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BFB#FFFFFF#000000##000000
##877BFB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#3888F8
Tritanopia (blue-blind)
#6097AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bfb;
/* rgb */ color: rgb(135, 123, 251);
/* oklch */ color: oklch(65.5% 0.184 284.3);
Tailwind
colors: {
  custom: {
    50: '#b0a1fd',
    500: '#877bfb',
    950: '#000000',
  },
}
SCSS
$custom: #877bfb;
$custom-light: #b0a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877bfb",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 245.625,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65516,
    "c": 0.18414,
    "h": 284.3
  },
  "luminance": 0.26282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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