#877FBC#877FBC

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

Color values

HEX#877FBC
RGBrgb(135, 127, 188)
HSLhsl(248, 31%, 62%)
HSVhsv(248, 32%, 74%)
CMYKcmyk(28.2%, 32.4%, 0%, 26.3%)
CIE-LABlab(56.05, 16.73, -30.89)
CIE-LCHlch(56.05, 35.13, 298.44°)
OKLaboklab(62.75% 0.0304 -0.0858)
OKLCHoklch(62.75% 0.091 289.5)
XYZxyz(26.6559, 23.9600, 50.7876)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FBC #B4BC7F
analogous
#7F96BC #877FBC #A67FBC
triadic
#877FBC #BC877F #7FBC87
tetradic
#877FBC #BC7F96 #B4BC7F #7FBCA6
square
#877FBC #BC7F96 #B4BC7F #7FBCA6
split-complementary
#877FBC #BCA67F #96BC7F
monochromatic
#4A427E #6257A7 #877FBC #ADA7D1 #D2CFE6

Accessibility & contrast

On white

3.63
#877FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#877FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FBC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FBC#FFFFFF#000000##000000
##877FBC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88BE
Deuteranopia (green-blind)
#6E85BA
Tritanopia (blue-blind)
#7B8A95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877fbc;
/* rgb */ color: rgb(135, 127, 188);
/* oklch */ color: oklch(62.8% 0.091 289.5);
Tailwind
colors: {
  custom: {
    50: '#aba4d0',
    500: '#877fbc',
    950: '#000000',
  },
}
SCSS
$custom: #877fbc;
$custom-light: #aba4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#877fbc",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 247.869,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62754,
    "c": 0.09099,
    "h": 289.5
  },
  "luminance": 0.2396
}

Semantic roles & 50–950 ramp

primary
#877FBC
secondary
#D4D7C0
accent
#AA3B9C
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #877FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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