#877FBE#877FBE

#877FBE is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.8% C 0.094 H 289.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#877FBE
RGBrgb(135, 127, 190)
HSLhsl(248, 33%, 62%)
HSVhsv(248, 33%, 75%)
CMYKcmyk(28.9%, 33.2%, 0%, 25.5%)
CIE-LABlab(56.13, 17.24, -31.89)
CIE-LCHlch(56.13, 36.25, 298.40°)
OKLaboklab(62.85% 0.0309 -0.0887)
OKLCHoklch(62.85% 0.094 289.2)
XYZxyz(26.8730, 24.0468, 51.9309)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FBE #B6BE7F
analogous
#7F97BE #877FBE #A77FBE
triadic
#877FBE #BE877F #7FBE87
tetradic
#877FBE #BE7F97 #B6BE7F #7FBEA7
square
#877FBE #BE7F97 #B6BE7F #7FBEA7
split-complementary
#877FBE #BEA77F #97BE7F
monochromatic
#4A4281 #6156A9 #877FBE #ADA8D3 #D3D0E7

Accessibility & contrast

On white

3.61
#877FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#877FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FBE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FBE#FFFFFF#000000##000000
##877FBE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C1
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#7A8A96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877fbe;
/* rgb */ color: rgb(135, 127, 190);
/* oklch */ color: oklch(62.8% 0.094 289.2);
Tailwind
colors: {
  custom: {
    50: '#aba4d2',
    500: '#877fbe',
    950: '#000000',
  },
}
SCSS
$custom: #877fbe;
$custom-light: #aba4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#877fbe",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 247.619,
    "s": 32.642,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62849,
    "c": 0.09388,
    "h": 289.2
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#877FBE
secondary
#D5D8C1
accent
#AB3A9D
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #877FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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