#877BC4#877BC4

#877BC4 is a light, moderate blue. Relative luminance 0.233; OKLCH L 62.4% C 0.109 H 290.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#877BC4
RGBrgb(135, 123, 196)
HSLhsl(250, 38%, 63%)
HSVhsv(250, 37%, 77%)
CMYKcmyk(31.1%, 37.2%, 0%, 23.1%)
CIE-LABlab(55.38, 21.15, -36.49)
CIE-LCHlch(55.38, 42.17, 300.10°)
OKLaboklab(62.36% 0.038 -0.1019)
OKLCHoklch(62.36% 0.109 290.4)
XYZxyz(27.0359, 23.3018, 55.2871)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BC4 #B8C47B
analogous
#7B93C4 #877BC4 #AB7BC4
triadic
#877BC4 #C4877B #7BC487
tetradic
#877BC4 #C47B93 #B8C47B #7BC4AB
square
#877BC4 #C47B93 #B8C47B #7BC4AB
split-complementary
#877BC4 #C4AB7B #93C47B
monochromatic
#493D88 #6151B1 #877BC4 #ADA5D7 #D4D0EA

Accessibility & contrast

On white

3.71
#877BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#877BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BC4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BC4#FFFFFF#000000##000000
##877BC41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6686C7
Deuteranopia (green-blind)
#6683C2
Tritanopia (blue-blind)
#798896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bc4;
/* rgb */ color: rgb(135, 123, 196);
/* oklch */ color: oklch(62.4% 0.109 290.4);
Tailwind
colors: {
  custom: {
    50: '#aca1d6',
    500: '#877bc4',
    950: '#000000',
  },
}
SCSS
$custom: #877bc4;
$custom-light: #aca1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#877bc4",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 249.863,
    "s": 38.22,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62361,
    "c": 0.10874,
    "h": 290.4
  },
  "luminance": 0.23302
}

Semantic roles & 50–950 ramp

primary
#877BC4
secondary
#D6DBC0
accent
#B1349D
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #877BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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