#877FC2#877FC2

#877FC2 is a light, moderate blue. Relative luminance 0.242; OKLCH L 63.0% C 0.100 H 288.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#877FC2
RGBrgb(135, 127, 194)
HSLhsl(247, 35%, 63%)
HSVhsv(247, 35%, 76%)
CMYKcmyk(30.4%, 34.5%, 0%, 23.9%)
CIE-LABlab(56.31, 18.27, -33.89)
CIE-LCHlch(56.31, 38.51, 298.33°)
OKLaboklab(63.04% 0.0319 -0.0944)
OKLCHoklch(63.04% 0.1 288.7)
XYZxyz(27.3161, 24.2241, 54.2650)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FC2 #BAC27F
analogous
#7F98C2 #877FC2 #A87FC2
triadic
#877FC2 #C2877F #7FC287
tetradic
#877FC2 #C27F98 #BAC27F #7FC2A8
square
#877FC2 #C27F98 #BAC27F #7FC2A8
split-complementary
#877FC2 #C2A87F #98C27F
monochromatic
#494087 #6056AE #877FC2 #AEA8D6 #D5D2EA

Accessibility & contrast

On white

3.59
#877FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#877FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FC2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FC2#FFFFFF#000000##000000
##877FC21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C88C5
Deuteranopia (green-blind)
#6C85C0
Tritanopia (blue-blind)
#798B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877fc2;
/* rgb */ color: rgb(135, 127, 194);
/* oklch */ color: oklch(63.0% 0.100 288.7);
Tailwind
colors: {
  custom: {
    50: '#aba4d4',
    500: '#877fc2',
    950: '#000000',
  },
}
SCSS
$custom: #877fc2;
$custom-light: #aba4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#877fc2",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 247.164,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63043,
    "c": 0.09965,
    "h": 288.7
  },
  "luminance": 0.24225
}

Semantic roles & 50–950 ramp

primary
#877FC2
secondary
#D8DAC2
accent
#AE37A0
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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