#877FC5#877FC5

#877FC5 is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.2% C 0.104 H 288.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#877FC5
RGBrgb(135, 127, 197)
HSLhsl(247, 38%, 64%)
HSVhsv(247, 36%, 77%)
CMYKcmyk(31.5%, 35.5%, 0%, 22.7%)
CIE-LABlab(56.45, 19.06, -35.39)
CIE-LCHlch(56.45, 40.19, 298.30°)
OKLaboklab(63.19% 0.0326 -0.0987)
OKLCHoklch(63.19% 0.104 288.3)
XYZxyz(27.6565, 24.3602, 56.0574)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FC5 #BDC57F
analogous
#7F9AC5 #877FC5 #AA7FC5
triadic
#877FC5 #C5877F #7FC587
tetradic
#877FC5 #C57F9A #BDC57F #7FC5AA
square
#877FC5 #C57F9A #BDC57F #7FC5AA
split-complementary
#877FC5 #C5AA7F #9AC57F
monochromatic
#483F8B #6055B2 #877FC5 #AEA9D8 #D6D3EB

Accessibility & contrast

On white

3.58
#877FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#877FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FC5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FC5#FFFFFF#000000##000000
##877FC51.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C8
Deuteranopia (green-blind)
#6A86C3
Tritanopia (blue-blind)
#788C99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877fc5;
/* rgb */ color: rgb(135, 127, 197);
/* oklch */ color: oklch(63.2% 0.104 288.3);
Tailwind
colors: {
  custom: {
    50: '#aca4d7',
    500: '#877fc5',
    950: '#000000',
  },
}
SCSS
$custom: #877fc5;
$custom-light: #aca4d7;
$custom-dark: #000000;
JSON
{
  "hex": "#877fc5",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 246.857,
    "s": 37.634,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.10398,
    "h": 288.3
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#877FC5
secondary
#D9DCC3
accent
#B135A2
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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