#877EC7#877EC7

#877EC7 is a light, moderate blue. Relative luminance 0.242; OKLCH L 63.1% C 0.108 H 288.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#877EC7
RGBrgb(135, 126, 199)
HSLhsl(247, 39%, 64%)
HSVhsv(247, 37%, 78%)
CMYKcmyk(32.2%, 36.7%, 0%, 22%)
CIE-LABlab(56.28, 20.17, -36.78)
CIE-LCHlch(56.28, 41.95, 298.74°)
OKLaboklab(63.1% 0.0345 -0.1027)
OKLCHoklch(63.1% 0.108 288.5)
XYZxyz(27.7586, 24.1955, 57.2294)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EC7 #BEC77E
analogous
#7E99C7 #877EC7 #AB7EC7
triadic
#877EC7 #C7877E #7EC787
tetradic
#877EC7 #C77E99 #BEC77E #7EC7AB
square
#877EC7 #C77E99 #BEC77E #7EC7AB
split-complementary
#877EC7 #C7AB7E #99C77E
monochromatic
#473D8D #5F53B4 #877EC7 #AFA9DA #D6D3EC

Accessibility & contrast

On white

3.60
#877EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#877EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EC7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EC7#FFFFFF#000000##000000
##877EC71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CA
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#778B99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877ec7;
/* rgb */ color: rgb(135, 126, 199);
/* oklch */ color: oklch(63.1% 0.108 288.5);
Tailwind
colors: {
  custom: {
    50: '#aca3d8',
    500: '#877ec7',
    950: '#000000',
  },
}
SCSS
$custom: #877ec7;
$custom-light: #aca3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#877ec7",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 247.397,
    "s": 39.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63096,
    "c": 0.10837,
    "h": 288.5
  },
  "luminance": 0.24196
}

Semantic roles & 50–950 ramp

primary
#877EC7
secondary
#DADDC4
accent
#B233A3
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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