#877BFD#877BFD

#877BFD is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.187 H 284.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#877BFD
RGBrgb(135, 123, 253)
HSLhsl(246, 97%, 74%)
HSVhsv(246, 51%, 99%)
CMYKcmyk(46.6%, 51.4%, 0%, 0.8%)
CIE-LABlab(58.42, 36.91, -63.58)
CIE-LCHlch(58.42, 73.52, 300.14°)
OKLaboklab(65.64% 0.0457 -0.1811)
OKLCHoklch(65.64% 0.187 284.2)
XYZxyz(34.7990, 26.4070, 96.1729)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BFD #F1FD7B
analogous
#7BB0FD #877BFD #C87BFD
triadic
#877BFD #FD877B #7BFD87
tetradic
#877BFD #FD7BB0 #F1FD7B #7BFDC8
square
#877BFD #FD7BB0 #F1FD7B #7BFDC8
split-complementary
#877BFD #FDC87B #B0FD7B
monochromatic
#1A04FA #503FFC #877BFD #BEB7FE #E4E1FF

Accessibility & contrast

On white

3.34
#877BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#877BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BFD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BFD#FFFFFF#000000##000000
##877BFD1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#3588FA
Tritanopia (blue-blind)
#5F97B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877bfd;
/* rgb */ color: rgb(135, 123, 253);
/* oklch */ color: oklch(65.6% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#b1a1ff',
    500: '#877bfd',
    950: '#000000',
  },
}
SCSS
$custom: #877bfd;
$custom-light: #b1a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877bfd",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 245.538,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65643,
    "c": 0.18677,
    "h": 284.2
  },
  "luminance": 0.26409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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