#877ECB#877ECB

#877ECB is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.3% C 0.114 H 288.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#877ECB
RGBrgb(135, 126, 203)
HSLhsl(247, 43%, 65%)
HSVhsv(247, 38%, 80%)
CMYKcmyk(33.5%, 37.9%, 0%, 20.4%)
CIE-LABlab(56.47, 21.23, -38.75)
CIE-LCHlch(56.47, 44.19, 298.71°)
OKLaboklab(63.3% 0.0353 -0.1085)
OKLCHoklch(63.3% 0.114 288)
XYZxyz(28.2292, 24.3837, 59.7075)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ECB #C2CB7E
analogous
#7E9CCB #877ECB #AE7ECB
triadic
#877ECB #CB877E #7ECB87
tetradic
#877ECB #CB7E9C #C2CB7E #7ECBAE
square
#877ECB #CB7E9C #C2CB7E #7ECBAE
split-complementary
#877ECB #CBAE7E #9CCB7E
monochromatic
#463B93 #5E52B9 #877ECB #B0AADD #D8D5EE

Accessibility & contrast

On white

3.57
#877ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#877ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ECB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ECB#FFFFFF#000000##000000
##877ECB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#6686C9
Tritanopia (blue-blind)
#768C9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877ecb;
/* rgb */ color: rgb(135, 126, 203);
/* oklch */ color: oklch(63.3% 0.114 288.0);
Tailwind
colors: {
  custom: {
    50: '#aca3db',
    500: '#877ecb',
    950: '#000000',
  },
}
SCSS
$custom: #877ecb;
$custom-light: #aca3db;
$custom-dark: #000000;
JSON
{
  "hex": "#877ecb",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 247.013,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.633,
    "c": 0.11408,
    "h": 288
  },
  "luminance": 0.24384
}

Semantic roles & 50–950 ramp

primary
#877ECB
secondary
#DDE0C5
accent
#B630A6
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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