#877CC7#877CC7

#877CC7 is a light, moderate blue. Relative luminance 0.237; OKLCH L 62.7% C 0.111 H 289.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#877CC7
RGBrgb(135, 124, 199)
HSLhsl(249, 40%, 63%)
HSVhsv(249, 38%, 78%)
CMYKcmyk(32.2%, 37.7%, 0%, 22%)
CIE-LABlab(55.78, 21.35, -37.58)
CIE-LCHlch(55.78, 43.22, 299.60°)
OKLaboklab(62.71% 0.0372 -0.105)
OKLCHoklch(62.71% 0.111 289.5)
XYZxyz(27.5054, 23.6891, 57.1450)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CC7 #BCC77C
analogous
#7C96C7 #877CC7 #AC7CC7
triadic
#877CC7 #C7877C #7CC787
tetradic
#877CC7 #C77C96 #BCC77C #7CC7AC
square
#877CC7 #C77C96 #BCC77C #7CC7AC
split-complementary
#877CC7 #C7AC7C #96C77C
monochromatic
#483C8D #6051B5 #877CC7 #AEA7D9 #D6D2EC

Accessibility & contrast

On white

3.66
#877CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#877CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CC7#FFFFFF#000000##000000
##877CC71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6687CA
Deuteranopia (green-blind)
#6684C5
Tritanopia (blue-blind)
#788A98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877cc7;
/* rgb */ color: rgb(135, 124, 199);
/* oklch */ color: oklch(62.7% 0.111 289.5);
Tailwind
colors: {
  custom: {
    50: '#aca2d8',
    500: '#877cc7',
    950: '#000000',
  },
}
SCSS
$custom: #877cc7;
$custom-light: #aca2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#877cc7",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 248.8,
    "s": 40.107,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62708,
    "c": 0.11145,
    "h": 289.5
  },
  "luminance": 0.2369
}

Semantic roles & 50–950 ramp

primary
#877CC7
secondary
#D9DDC2
accent
#B332A0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #877CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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