#877DCC#877DCC

#877DCC is a light, moderate blue. Relative luminance 0.242; OKLCH L 63.2% C 0.117 H 288.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#877DCC
RGBrgb(135, 125, 204)
HSLhsl(248, 44%, 65%)
HSVhsv(248, 39%, 80%)
CMYKcmyk(33.8%, 38.7%, 0%, 20%)
CIE-LABlab(56.26, 22.08, -39.64)
CIE-LCHlch(56.26, 45.38, 299.12°)
OKLaboklab(63.16% 0.0369 -0.111)
OKLCHoklch(63.16% 0.117 288.4)
XYZxyz(28.2215, 24.1770, 60.2948)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DCC #C2CC7D
analogous
#7D9BCC #877DCC #AF7DCC
triadic
#877DCC #CC877D #7DCC87
tetradic
#877DCC #CC7D9B #C2CC7D #7DCCAF
square
#877DCC #CC7D9B #C2CC7D #7DCCAF
split-complementary
#877DCC #CCAF7D #9BCC7D
monochromatic
#463A94 #5E51BB #877DCC #B0A9DD #D8D5EE

Accessibility & contrast

On white

3.60
#877DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#877DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DCC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DCC#FFFFFF#000000##000000
##877DCC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#768C9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877dcc;
/* rgb */ color: rgb(135, 125, 204);
/* oklch */ color: oklch(63.2% 0.117 288.4);
Tailwind
colors: {
  custom: {
    50: '#aca2dc',
    500: '#877dcc',
    950: '#000000',
  },
}
SCSS
$custom: #877dcc;
$custom-light: #aca2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#877dcc",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 247.595,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.11702,
    "h": 288.4
  },
  "luminance": 0.24178
}

Semantic roles & 50–950 ramp

primary
#877DCC
secondary
#DDE0C5
accent
#B72FA6
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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