#877CD6#877CD6

#877CD6 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.133 H 287.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#877CD6
RGBrgb(135, 124, 214)
HSLhsl(247, 52%, 66%)
HSVhsv(247, 42%, 84%)
CMYKcmyk(36.9%, 42.1%, 0%, 16.1%)
CIE-LABlab(56.51, 25.37, -44.91)
CIE-LCHlch(56.51, 51.58, 299.46°)
OKLaboklab(63.5% 0.0401 -0.1264)
OKLCHoklch(63.5% 0.133 287.6)
XYZxyz(29.3336, 24.4204, 66.7734)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD6 #CBD67C
analogous
#7C9ED6 #877CD6 #B47CD6
triadic
#877CD6 #D6877C #7CD687
tetradic
#877CD6 #D67C9E #CBD67C #7CD6B4
square
#877CD6 #D67C9E #CBD67C #7CD6B4
split-complementary
#877CD6 #D6B47C #9ED67C
monochromatic
#4133A4 #5C4DC7 #877CD6 #B2ABE5 #DCD9F3

Accessibility & contrast

On white

3.57
#877CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#877CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD6#FFFFFF#000000##000000
##877CD61.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8AD9
Deuteranopia (green-blind)
#5D85D4
Tritanopia (blue-blind)
#728D9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877cd6;
/* rgb */ color: rgb(135, 124, 214);
/* oklch */ color: oklch(63.5% 0.133 287.6);
Tailwind
colors: {
  custom: {
    50: '#ada2e3',
    500: '#877cd6',
    950: '#000000',
  },
}
SCSS
$custom: #877cd6;
$custom-light: #ada2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd6",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 247.333,
    "s": 52.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63503,
    "c": 0.13258,
    "h": 287.6
  },
  "luminance": 0.24421
}

Semantic roles & 50–950 ramp

primary
#877CD6
secondary
#E2E6C8
accent
#C026AD
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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