#877BEC#877BEC

#877BEC is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.6% C 0.164 H 285.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#877BEC
RGBrgb(135, 123, 236)
HSLhsl(246, 75%, 70%)
HSVhsv(246, 48%, 93%)
CMYKcmyk(42.8%, 47.9%, 0%, 7.5%)
CIE-LABlab(57.44, 32.06, -55.75)
CIE-LCHlch(57.44, 64.31, 299.91°)
OKLaboklab(64.59% 0.0444 -0.1581)
OKLCHoklch(64.59% 0.164 285.7)
XYZxyz(32.2106, 25.3717, 82.5407)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BEC #E0EC7B
analogous
#7BA7EC #877BEC #C07BEC
triadic
#877BEC #EC877B #7BEC87
tetradic
#877BEC #EC7BA7 #E0EC7B #7BECC0
square
#877BEC #EC7BA7 #E0EC7B #7BECC0
split-complementary
#877BEC #ECC07B #A7EC7B
monochromatic
#311ECF #5646E4 #877BEC #B8B0F4 #E7E4FB

Accessibility & contrast

On white

3.46
#877BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#877BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BEC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BEC#FFFFFF#000000##000000
##877BEC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#4A87E9
Tritanopia (blue-blind)
#6892A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877bec;
/* rgb */ color: rgb(135, 123, 236);
/* oklch */ color: oklch(64.6% 0.164 285.7);
Tailwind
colors: {
  custom: {
    50: '#afa1f3',
    500: '#877bec',
    950: '#000000',
  },
}
SCSS
$custom: #877bec;
$custom-light: #afa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877bec",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 246.372,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64587,
    "c": 0.16419,
    "h": 285.7
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#877BEC
secondary
#EEF1D2
accent
#D70FC2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #877BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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