#877CD5#877CD5

#877CD5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.4% C 0.131 H 287.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#877CD5
RGBrgb(135, 124, 213)
HSLhsl(247, 51%, 66%)
HSVhsv(247, 42%, 84%)
CMYKcmyk(36.6%, 41.8%, 0%, 16.5%)
CIE-LABlab(56.46, 25.09, -44.43)
CIE-LCHlch(56.46, 51.02, 299.46°)
OKLaboklab(63.45% 0.0399 -0.125)
OKLCHoklch(63.45% 0.131 287.7)
XYZxyz(29.2063, 24.3694, 66.1028)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD5 #CAD57C
analogous
#7C9DD5 #877CD5 #B37CD5
triadic
#877CD5 #D5877C #7CD587
tetradic
#877CD5 #D57C9D #CAD57C #7CD5B3
square
#877CD5 #D57C9D #CAD57C #7CD5B3
split-complementary
#877CD5 #D5B37C #9DD57C
monochromatic
#4234A2 #5D4EC6 #877CD5 #B1AAE4 #DCD9F3

Accessibility & contrast

On white

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

On black

5.87
#877CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD5#FFFFFF#000000##000000
##877CD51.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8AD8
Deuteranopia (green-blind)
#5E85D3
Tritanopia (blue-blind)
#728D9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877cd5;
/* rgb */ color: rgb(135, 124, 213);
/* oklch */ color: oklch(63.4% 0.131 287.7);
Tailwind
colors: {
  custom: {
    50: '#ada2e2',
    500: '#877cd5',
    950: '#000000',
  },
}
SCSS
$custom: #877cd5;
$custom-light: #ada2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd5",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 247.416,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63449,
    "c": 0.13118,
    "h": 287.7
  },
  "luminance": 0.2437
}

Semantic roles & 50–950 ramp

primary
#877CD5
secondary
#E1E5C8
accent
#BF27AC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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