#877CD8#877CD8

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

Color values

HEX#877CD8
RGBrgb(135, 124, 216)
HSLhsl(247, 54%, 67%)
HSVhsv(247, 43%, 85%)
CMYKcmyk(37.5%, 42.6%, 0%, 15.3%)
CIE-LABlab(56.61, 25.91, -45.87)
CIE-LCHlch(56.61, 52.69, 299.46°)
OKLaboklab(63.61% 0.0404 -0.1292)
OKLCHoklch(63.61% 0.135 287.4)
XYZxyz(29.5906, 24.5232, 68.1268)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD8 #CDD87C
analogous
#7C9FD8 #877CD8 #B57CD8
triadic
#877CD8 #D8877C #7CD887
tetradic
#877CD8 #D87C9F #CDD87C #7CD8B5
square
#877CD8 #D87C9F #CDD87C #7CD8B5
split-complementary
#877CD8 #D8B57C #9FD87C
monochromatic
#4032A8 #5C4DCA #877CD8 #B2ABE6 #DDDAF4

Accessibility & contrast

On white

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

On black

5.90
#877CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD8#FFFFFF#000000##000000
##877CD81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877cd8;
/* rgb */ color: rgb(135, 124, 216);
/* oklch */ color: oklch(63.6% 0.135 287.4);
Tailwind
colors: {
  custom: {
    50: '#ada2e4',
    500: '#877cd8',
    950: '#000000',
  },
}
SCSS
$custom: #877cd8;
$custom-light: #ada2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd8",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 247.174,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.13537,
    "h": 287.4
  },
  "luminance": 0.24524
}

Semantic roles & 50–950 ramp

primary
#877CD8
secondary
#E3E7C9
accent
#C224AF
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100F15
muted
#7F7E84

Preview Lab

Preview with #877CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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