#877FC8#877FC8

#877FC8 is a light, moderate blue. Relative luminance 0.245; OKLCH L 63.3% C 0.108 H 287.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#877FC8
RGBrgb(135, 127, 200)
HSLhsl(247, 40%, 64%)
HSVhsv(247, 37%, 78%)
CMYKcmyk(32.5%, 36.5%, 0%, 21.6%)
CIE-LABlab(56.58, 19.84, -36.87)
CIE-LCHlch(56.58, 41.88, 298.29°)
OKLaboklab(63.34% 0.0333 -0.103)
OKLCHoklch(63.34% 0.108 287.9)
XYZxyz(28.0036, 24.4991, 57.8858)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FC8 #C0C87F
analogous
#7F9CC8 #877FC8 #AC7FC8
triadic
#877FC8 #C8877F #7FC887
tetradic
#877FC8 #C87F9C #C0C87F #7FC8AC
square
#877FC8 #C87F9C #C0C87F #7FC8AC
split-complementary
#877FC8 #C8AC7F #9CC87F
monochromatic
#463D8F #5F54B6 #877FC8 #AFAADA #D7D5ED

Accessibility & contrast

On white

3.56
#877FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#877FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FC8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FC8#FFFFFF#000000##000000
##877FC81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6989CB
Deuteranopia (green-blind)
#6986C6
Tritanopia (blue-blind)
#778C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877fc8;
/* rgb */ color: rgb(135, 127, 200);
/* oklch */ color: oklch(63.3% 0.108 287.9);
Tailwind
colors: {
  custom: {
    50: '#aca4d9',
    500: '#877fc8',
    950: '#000000',
  },
}
SCSS
$custom: #877fc8;
$custom-light: #aca4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#877fc8",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 246.575,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.10828,
    "h": 287.9
  },
  "luminance": 0.245
}

Semantic roles & 50–950 ramp

primary
#877FC8
secondary
#DBDEC5
accent
#B333A5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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