#877BC7#877BC7

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

Color values

HEX#877BC7
RGBrgb(135, 123, 199)
HSLhsl(249, 40%, 63%)
HSVhsv(249, 38%, 78%)
CMYKcmyk(32.2%, 38.2%, 0%, 22%)
CIE-LABlab(55.52, 21.94, -37.97)
CIE-LCHlch(55.52, 43.85, 300.01°)
OKLaboklab(62.52% 0.0386 -0.1062)
OKLCHoklch(62.52% 0.113 290)
XYZxyz(27.3808, 23.4397, 57.1035)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BC7 #BBC77B
analogous
#7B95C7 #877BC7 #AD7BC7
triadic
#877BC7 #C7877B #7BC787
tetradic
#877BC7 #C77B95 #BBC77B #7BC7AD
square
#877BC7 #C77B95 #BBC77B #7BC7AD
split-complementary
#877BC7 #C7AD7B #95C77B
monochromatic
#483B8C #6050B5 #877BC7 #AEA6D9 #D5D1EB

Accessibility & contrast

On white

3.69
#877BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#877BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BC7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BC7#FFFFFF#000000##000000
##877BC71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6486CA
Deuteranopia (green-blind)
#6583C5
Tritanopia (blue-blind)
#788997
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877bc7;
/* rgb */ color: rgb(135, 123, 199);
/* oklch */ color: oklch(62.5% 0.113 290.0);
Tailwind
colors: {
  custom: {
    50: '#aca1d8',
    500: '#877bc7',
    950: '#000000',
  },
}
SCSS
$custom: #877bc7;
$custom-light: #aca1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#877bc7",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 249.474,
    "s": 40.426,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.11299,
    "h": 290
  },
  "luminance": 0.2344
}

Semantic roles & 50–950 ramp

primary
#877BC7
secondary
#D8DDC1
accent
#B3329F
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #877BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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