#877BFE#877BFE

#877BFE is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.7% C 0.188 H 284.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#877BFE
RGBrgb(135, 123, 254)
HSLhsl(245, 98%, 74%)
HSVhsv(245, 52%, 100%)
CMYKcmyk(46.9%, 51.6%, 0%, 0.4%)
CIE-LABlab(58.48, 37.20, -64.04)
CIE-LCHlch(58.48, 74.06, 300.15°)
OKLaboklab(65.71% 0.0458 -0.1824)
OKLCHoklch(65.71% 0.188 284.1)
XYZxyz(34.9587, 26.4709, 97.0141)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BFE #F2FE7B
analogous
#7BB1FE #877BFE #C97BFE
triadic
#877BFE #FE877B #7BFE87
tetradic
#877BFE #FE7BB1 #F2FE7B #7BFEC9
square
#877BFE #FE7BB1 #F2FE7B #7BFEC9
split-complementary
#877BFE #FEC97B #B1FE7B
monochromatic
#1902FD #503EFE #877BFE #BEB8FE #E3E1FF

Accessibility & contrast

On white

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

On black

6.29
#877BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BFE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BFE#FFFFFF#000000##000000
##877BFE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#3388FB
Tritanopia (blue-blind)
#5E97B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877bfe;
/* rgb */ color: rgb(135, 123, 254);
/* oklch */ color: oklch(65.7% 0.188 284.1);
Tailwind
colors: {
  custom: {
    50: '#b1a1ff',
    500: '#877bfe',
    950: '#000000',
  },
}
SCSS
$custom: #877bfe;
$custom-light: #b1a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877bfe",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 245.496,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65708,
    "c": 0.18808,
    "h": 284.1
  },
  "luminance": 0.26473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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