#877EC5#877EC5

#877EC5 is a light, moderate blue. Relative luminance 0.241; OKLCH L 63.0% C 0.106 H 288.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#877EC5
RGBrgb(135, 126, 197)
HSLhsl(248, 38%, 63%)
HSVhsv(248, 36%, 77%)
CMYKcmyk(31.5%, 36%, 0%, 22.7%)
CIE-LABlab(56.19, 19.64, -35.79)
CIE-LCHlch(56.19, 40.82, 298.76°)
OKLaboklab(63% 0.034 -0.0999)
OKLCHoklch(63% 0.106 288.8)
XYZxyz(27.5280, 24.1032, 56.0145)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EC5 #BCC57E
analogous
#7E98C5 #877EC5 #AA7EC5
triadic
#877EC5 #C5877E #7EC587
tetradic
#877EC5 #C57E98 #BCC57E #7EC5AA
square
#877EC5 #C57E98 #BCC57E #7EC5AA
split-complementary
#877EC5 #C5AA7E #98C57E
monochromatic
#483E8A #6054B2 #877EC5 #AEA8D8 #D6D2EB

Accessibility & contrast

On white

3.61
#877EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#877EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EC5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EC5#FFFFFF#000000##000000
##877EC51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6988C8
Deuteranopia (green-blind)
#6985C3
Tritanopia (blue-blind)
#788B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877ec5;
/* rgb */ color: rgb(135, 126, 197);
/* oklch */ color: oklch(63.0% 0.106 288.8);
Tailwind
colors: {
  custom: {
    50: '#aca3d7',
    500: '#877ec5',
    950: '#000000',
  },
}
SCSS
$custom: #877ec5;
$custom-light: #aca3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#877ec5",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 247.606,
    "s": 37.968,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62995,
    "c": 0.10551,
    "h": 288.8
  },
  "luminance": 0.24104
}

Semantic roles & 50–950 ramp

primary
#877EC5
secondary
#D9DCC3
accent
#B135A1
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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