#877CD7#877CD7

#877CD7 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.6% C 0.134 H 287.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#877CD7
RGBrgb(135, 124, 215)
HSLhsl(247, 53%, 66%)
HSVhsv(247, 42%, 84%)
CMYKcmyk(37.2%, 42.3%, 0%, 15.7%)
CIE-LABlab(56.56, 25.64, -45.39)
CIE-LCHlch(56.56, 52.13, 299.46°)
OKLaboklab(63.56% 0.0403 -0.1278)
OKLCHoklch(63.56% 0.134 287.5)
XYZxyz(29.4617, 24.4716, 67.4480)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD7 #CCD77C
analogous
#7C9FD7 #877CD7 #B57CD7
triadic
#877CD7 #D7877C #7CD787
tetradic
#877CD7 #D77C9F #CCD77C #7CD7B5
square
#877CD7 #D77C9F #CCD77C #7CD7B5
split-complementary
#877CD7 #D7B57C #9FD77C
monochromatic
#4133A6 #5C4DC9 #877CD7 #B2ABE5 #DDDAF4

Accessibility & contrast

On white

3.56
#877CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#877CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD7#FFFFFF#000000##000000
##877CD71.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8ADA
Deuteranopia (green-blind)
#5C85D5
Tritanopia (blue-blind)
#728E9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877cd7;
/* rgb */ color: rgb(135, 124, 215);
/* oklch */ color: oklch(63.6% 0.134 287.5);
Tailwind
colors: {
  custom: {
    50: '#ada2e4',
    500: '#877cd7',
    950: '#000000',
  },
}
SCSS
$custom: #877cd7;
$custom-light: #ada2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd7",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 247.253,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.13398,
    "h": 287.5
  },
  "luminance": 0.24472
}

Semantic roles & 50–950 ramp

primary
#877CD7
secondary
#E3E6C9
accent
#C125AE
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100F15
muted
#7F7E84

Preview Lab

Preview with #877CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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