#877EC0#877EC0

#877EC0 is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.7% C 0.098 H 289.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#877EC0
RGBrgb(135, 126, 192)
HSLhsl(248, 34%, 62%)
HSVhsv(248, 34%, 75%)
CMYKcmyk(29.7%, 34.4%, 0%, 24.7%)
CIE-LABlab(55.97, 18.34, -33.30)
CIE-LCHlch(55.97, 38.01, 298.85°)
OKLaboklab(62.75% 0.0328 -0.0927)
OKLCHoklch(62.75% 0.098 289.5)
XYZxyz(26.9645, 23.8778, 53.0472)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EC0 #B7C07E
analogous
#7E96C0 #877EC0 #A87EC0
triadic
#877EC0 #C0877E #7EC087
tetradic
#877EC0 #C07E96 #B7C07E #7EC0A8
square
#877EC0 #C07E96 #B7C07E #7EC0A8
split-complementary
#877EC0 #C0A87E #96C07E
monochromatic
#494083 #6155AC #877EC0 #ADA7D4 #D4D0E8

Accessibility & contrast

On white

3.64
#877EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#877EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EC0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EC0#FFFFFF#000000##000000
##877EC01.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C3
Deuteranopia (green-blind)
#6B85BE
Tritanopia (blue-blind)
#7A8A96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877ec0;
/* rgb */ color: rgb(135, 126, 192);
/* oklch */ color: oklch(62.7% 0.098 289.5);
Tailwind
colors: {
  custom: {
    50: '#aba3d3',
    500: '#877ec0',
    950: '#000000',
  },
}
SCSS
$custom: #877ec0;
$custom-light: #aba3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#877ec0",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 248.182,
    "s": 34.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.09833,
    "h": 289.5
  },
  "luminance": 0.23878
}

Semantic roles & 50–950 ramp

primary
#877EC0
secondary
#D6D9C1
accent
#AD389D
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #877EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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