#877BC6#877BC6

#877BC6 is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.5% C 0.112 H 290.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#877BC6
RGBrgb(135, 123, 198)
HSLhsl(250, 40%, 63%)
HSVhsv(250, 38%, 78%)
CMYKcmyk(31.8%, 37.9%, 0%, 22.4%)
CIE-LABlab(55.48, 21.67, -37.48)
CIE-LCHlch(55.48, 43.29, 300.04°)
OKLaboklab(62.46% 0.0384 -0.1048)
OKLCHoklch(62.46% 0.112 290.1)
XYZxyz(27.2650, 23.3934, 56.4940)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BC6 #BAC67B
analogous
#7B94C6 #877BC6 #AC7BC6
triadic
#877BC6 #C6877B #7BC687
tetradic
#877BC6 #C67B94 #BAC67B #7BC6AC
square
#877BC6 #C67B94 #BAC67B #7BC6AC
split-complementary
#877BC6 #C6AC7B #94C67B
monochromatic
#493C8B #6050B4 #877BC6 #AEA6D8 #D5D0EB

Accessibility & contrast

On white

3.70
#877BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#877BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BC6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BC6#FFFFFF#000000##000000
##877BC61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6586C9
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#788997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bc6;
/* rgb */ color: rgb(135, 123, 198);
/* oklch */ color: oklch(62.5% 0.112 290.1);
Tailwind
colors: {
  custom: {
    50: '#aca1d7',
    500: '#877bc6',
    950: '#000000',
  },
}
SCSS
$custom: #877bc6;
$custom-light: #aca1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#877bc6",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 249.6,
    "s": 39.683,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.11158,
    "h": 290.1
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#877BC6
secondary
#D8DCC1
accent
#B3339E
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #877BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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