#877CD4#877CD4

#877CD4 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.4% C 0.130 H 287.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#877CD4
RGBrgb(135, 124, 212)
HSLhsl(248, 51%, 66%)
HSVhsv(248, 42%, 83%)
CMYKcmyk(36.3%, 41.5%, 0%, 16.9%)
CIE-LABlab(56.41, 24.82, -43.94)
CIE-LCHlch(56.41, 50.47, 299.46°)
OKLaboklab(63.39% 0.0398 -0.1235)
OKLCHoklch(63.39% 0.13 287.8)
XYZxyz(29.0798, 24.3188, 65.4364)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD4 #C9D47C
analogous
#7C9DD4 #877CD4 #B37CD4
triadic
#877CD4 #D4877C #7CD487
tetradic
#877CD4 #D47C9D #C9D47C #7CD4B3
square
#877CD4 #D47C9D #C9D47C #7CD4B3
split-complementary
#877CD4 #D4B37C #9DD47C
monochromatic
#4235A1 #5D4EC5 #877CD4 #B1AAE3 #DBD8F2

Accessibility & contrast

On white

3.58
#877CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#877CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD4#FFFFFF#000000##000000
##877CD41.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F89D7
Deuteranopia (green-blind)
#5E85D2
Tritanopia (blue-blind)
#738D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877cd4;
/* rgb */ color: rgb(135, 124, 212);
/* oklch */ color: oklch(63.4% 0.130 287.8);
Tailwind
colors: {
  custom: {
    50: '#ada2e1',
    500: '#877cd4',
    950: '#000000',
  },
}
SCSS
$custom: #877cd4;
$custom-light: #ada2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd4",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 247.5,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63394,
    "c": 0.12979,
    "h": 287.8
  },
  "luminance": 0.2432
}

Semantic roles & 50–950 ramp

primary
#877CD4
secondary
#E1E4C7
accent
#BE28AB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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