#877ECA#877ECA

#877ECA is a light, moderate blue. Relative luminance 0.243; OKLCH L 63.2% C 0.113 H 288.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#877ECA
RGBrgb(135, 126, 202)
HSLhsl(247, 42%, 64%)
HSVhsv(247, 38%, 79%)
CMYKcmyk(33.2%, 37.6%, 0%, 20.8%)
CIE-LABlab(56.42, 20.96, -38.26)
CIE-LCHlch(56.42, 43.63, 298.72°)
OKLaboklab(63.25% 0.0351 -0.107)
OKLCHoklch(63.25% 0.113 288.2)
XYZxyz(28.1104, 24.3362, 59.0820)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ECA #C1CA7E
analogous
#7E9BCA #877ECA #AD7ECA
triadic
#877ECA #CA877E #7ECA87
tetradic
#877ECA #CA7E9B #C1CA7E #7ECAAD
square
#877ECA #CA7E9B #C1CA7E #7ECAAD
split-complementary
#877ECA #CAAD7E #9BCA7E
monochromatic
#463C92 #5F53B8 #877ECA #AFA9DC #D8D5EE

Accessibility & contrast

On white

3.58
#877ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#877ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ECA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ECA#FFFFFF#000000##000000
##877ECA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#768C9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877eca;
/* rgb */ color: rgb(135, 126, 202);
/* oklch */ color: oklch(63.2% 0.113 288.2);
Tailwind
colors: {
  custom: {
    50: '#aca3da',
    500: '#877eca',
    950: '#000000',
  },
}
SCSS
$custom: #877eca;
$custom-light: #aca3da;
$custom-dark: #000000;
JSON
{
  "hex": "#877eca",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 247.105,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.11265,
    "h": 288.2
  },
  "luminance": 0.24337
}

Semantic roles & 50–950 ramp

primary
#877ECA
secondary
#DCDFC5
accent
#B531A5
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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