#877EBC#877EBC

#877EBC is a light, moderate blue. Relative luminance 0.237; OKLCH L 62.6% C 0.093 H 290.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#877EBC
RGBrgb(135, 126, 188)
HSLhsl(249, 32%, 62%)
HSVhsv(249, 33%, 74%)
CMYKcmyk(28.2%, 33%, 0%, 26.3%)
CIE-LABlab(55.79, 17.32, -31.29)
CIE-LCHlch(55.79, 35.76, 298.97°)
OKLaboklab(62.56% 0.0318 -0.0869)
OKLCHoklch(62.56% 0.093 290.1)
XYZxyz(26.5274, 23.7030, 50.7447)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EBC #B3BC7E
analogous
#7E94BC #877EBC #A67EBC
triadic
#877EBC #BC877E #7EBC87
tetradic
#877EBC #BC7E94 #B3BC7E #7EBCA6
square
#877EBC #BC7E94 #B3BC7E #7EBCA6
split-complementary
#877EBC #BCA67E #94BC7E
monochromatic
#4A417E #6256A6 #877EBC #ACA6D1 #D2CFE6

Accessibility & contrast

On white

3.66
#877EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#877EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EBC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EBC#FFFFFF#000000##000000
##877EBC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#7B8994
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877ebc;
/* rgb */ color: rgb(135, 126, 188);
/* oklch */ color: oklch(62.6% 0.093 290.1);
Tailwind
colors: {
  custom: {
    50: '#aba3d0',
    500: '#877ebc',
    950: '#000000',
  },
}
SCSS
$custom: #877ebc;
$custom-light: #aba3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#877ebc",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 248.71,
    "s": 31.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.09255,
    "h": 290.1
  },
  "luminance": 0.23703
}

Semantic roles & 50–950 ramp

primary
#877EBC
secondary
#D3D6BF
accent
#AA3B9A
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #877EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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