#877ECD#877ECD

#877ECD is a light, moderate blue. Relative luminance 0.245; OKLCH L 63.4% C 0.117 H 287.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#877ECD
RGBrgb(135, 126, 205)
HSLhsl(247, 44%, 65%)
HSVhsv(247, 39%, 80%)
CMYKcmyk(34.1%, 38.5%, 0%, 19.6%)
CIE-LABlab(56.56, 21.76, -39.74)
CIE-LCHlch(56.56, 45.30, 298.71°)
OKLaboklab(63.4% 0.0357 -0.1113)
OKLCHoklch(63.4% 0.117 287.8)
XYZxyz(28.4690, 24.4796, 60.9709)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ECD #C4CD7E
analogous
#7E9DCD #877ECD #AE7ECD
triadic
#877ECD #CD877E #7ECD87
tetradic
#877ECD #CD7E9D #C4CD7E #7ECDAE
square
#877ECD #CD7E9D #C4CD7E #7ECDAE
split-complementary
#877ECD #CDAE7E #9DCD7E
monochromatic
#453A96 #5E52BC #877ECD #B0AADE #D9D6EF

Accessibility & contrast

On white

3.56
#877ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#877ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ECD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ECD#FFFFFF#000000##000000
##877ECD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#758D9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877ecd;
/* rgb */ color: rgb(135, 126, 205);
/* oklch */ color: oklch(63.4% 0.117 287.8);
Tailwind
colors: {
  custom: {
    50: '#aca3dc',
    500: '#877ecd',
    950: '#000000',
  },
}
SCSS
$custom: #877ecd;
$custom-light: #aca3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#877ecd",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 246.835,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63403,
    "c": 0.11692,
    "h": 287.8
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#877ECD
secondary
#DEE1C6
accent
#B72EA8
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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