#877BEF#877BEF

#877BEF is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.168 H 285.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#877BEF
RGBrgb(135, 123, 239)
HSLhsl(246, 78%, 71%)
HSVhsv(246, 49%, 94%)
CMYKcmyk(43.5%, 48.5%, 0%, 6.3%)
CIE-LABlab(57.60, 32.91, -57.15)
CIE-LCHlch(57.60, 65.95, 299.94°)
OKLaboklab(64.77% 0.0447 -0.1622)
OKLCHoklch(64.77% 0.168 285.4)
XYZxyz(32.6501, 25.5475, 84.8554)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BEF #E3EF7B
analogous
#7BA9EF #877BEF #C17BEF
triadic
#877BEF #EF877B #7BEF87
tetradic
#877BEF #EF7BA9 #E3EF7B #7BEFC1
square
#877BEF #EF7BA9 #E3EF7B #7BEFC1
split-complementary
#877BEF #EFC17B #A9EF7B
monochromatic
#2D1AD6 #5544E8 #877BEF #B9B2F6 #E6E4FC

Accessibility & contrast

On white

3.44
#877BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#877BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BEF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BEF#FFFFFF#000000##000000
##877BEF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#6793AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877bef;
/* rgb */ color: rgb(135, 123, 239);
/* oklch */ color: oklch(64.8% 0.168 285.4);
Tailwind
colors: {
  custom: {
    50: '#afa1f5',
    500: '#877bef',
    950: '#000000',
  },
}
SCSS
$custom: #877bef;
$custom-light: #afa1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877bef",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 246.207,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.16822,
    "h": 285.4
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#877BEF
secondary
#EFF2D3
accent
#DB0BC5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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