#877CD9#877CD9

#877CD9 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.7% C 0.137 H 287.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#877CD9
RGBrgb(135, 124, 217)
HSLhsl(247, 55%, 67%)
HSVhsv(247, 43%, 85%)
CMYKcmyk(37.8%, 42.9%, 0%, 14.9%)
CIE-LABlab(56.66, 26.19, -46.36)
CIE-LCHlch(56.66, 53.24, 299.46°)
OKLaboklab(63.67% 0.0406 -0.1306)
OKLCHoklch(63.67% 0.137 287.3)
XYZxyz(29.7203, 24.5750, 68.8097)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD9 #CED97C
analogous
#7CA0D9 #877CD9 #B67CD9
triadic
#877CD9 #D9877C #7CD987
tetradic
#877CD9 #D97CA0 #CED97C #7CD9B6
square
#877CD9 #D97CA0 #CED97C #7CD9B6
split-complementary
#877CD9 #D9B67C #A0D97C
monochromatic
#3F31A9 #5C4DCB #877CD9 #B2ABE7 #DEDBF5

Accessibility & contrast

On white

3.55
#877CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#877CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD9#FFFFFF#000000##000000
##877CD91.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8ADC
Deuteranopia (green-blind)
#5B85D7
Tritanopia (blue-blind)
#718EA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877cd9;
/* rgb */ color: rgb(135, 124, 217);
/* oklch */ color: oklch(63.7% 0.137 287.3);
Tailwind
colors: {
  custom: {
    50: '#ada2e5',
    500: '#877cd9',
    950: '#000000',
  },
}
SCSS
$custom: #877cd9;
$custom-light: #ada2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd9",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 247.097,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63669,
    "c": 0.13676,
    "h": 287.3
  },
  "luminance": 0.24576
}

Semantic roles & 50–950 ramp

primary
#877CD9
secondary
#E4E7CA
accent
#C323B0
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100F16
muted
#7F7E84

Preview Lab

Preview with #877CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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