#877DC7#877DC7

#877DC7 is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.9% C 0.110 H 289.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#877DC7
RGBrgb(135, 125, 199)
HSLhsl(248, 40%, 64%)
HSVhsv(248, 37%, 78%)
CMYKcmyk(32.2%, 37.2%, 0%, 22%)
CIE-LABlab(56.03, 20.76, -37.18)
CIE-LCHlch(56.03, 42.58, 299.18°)
OKLaboklab(62.9% 0.0358 -0.1039)
OKLCHoklch(62.9% 0.11 289)
XYZxyz(27.6314, 23.9410, 57.1870)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DC7 #BDC77D
analogous
#7D98C7 #877DC7 #AC7DC7
triadic
#877DC7 #C7877D #7DC787
tetradic
#877DC7 #C77D98 #BDC77D #7DC7AC
square
#877DC7 #C77D98 #BDC77D #7DC7AC
split-complementary
#877DC7 #C7AC7D #98C77D
monochromatic
#483D8D #6052B5 #877DC7 #AEA8D9 #D6D3EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877DC7#FFFFFF#000000##000000
##877DC71.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)
#6788CA
Deuteranopia (green-blind)
#6785C5
Tritanopia (blue-blind)
#788B99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877dc7;
/* rgb */ color: rgb(135, 125, 199);
/* oklch */ color: oklch(62.9% 0.110 289.0);
Tailwind
colors: {
  custom: {
    50: '#aca2d8',
    500: '#877dc7',
    950: '#000000',
  },
}
SCSS
$custom: #877dc7;
$custom-light: #aca2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#877dc7",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 248.108,
    "s": 39.785,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62901,
    "c": 0.10991,
    "h": 289
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#877DC7
secondary
#D9DDC3
accent
#B333A1
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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