#877CD2#877CD2

#877CD2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.3% C 0.127 H 288.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#877CD2
RGBrgb(135, 124, 210)
HSLhsl(248, 49%, 65%)
HSVhsv(248, 41%, 82%)
CMYKcmyk(35.7%, 41%, 0%, 17.6%)
CIE-LABlab(56.31, 24.28, -42.97)
CIE-LCHlch(56.31, 49.36, 299.47°)
OKLaboklab(63.29% 0.0394 -0.1207)
OKLCHoklch(63.29% 0.127 288.1)
XYZxyz(28.8290, 24.2185, 64.1160)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CD2 #C7D27C
analogous
#7C9CD2 #877CD2 #B27CD2
triadic
#877CD2 #D2877C #7CD287
tetradic
#877CD2 #D27C9C #C7D27C #7CD2B2
square
#877CD2 #D27C9C #C7D27C #7CD2B2
split-complementary
#877CD2 #D2B27C #9CD27C
monochromatic
#43369D #5D4EC2 #877CD2 #B1AAE2 #DAD7F1

Accessibility & contrast

On white

3.59
#877CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#877CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CD2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CD2#FFFFFF#000000##000000
##877CD21.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6089D5
Deuteranopia (green-blind)
#5F85D0
Tritanopia (blue-blind)
#748C9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877cd2;
/* rgb */ color: rgb(135, 124, 210);
/* oklch */ color: oklch(63.3% 0.127 288.1);
Tailwind
colors: {
  custom: {
    50: '#ada2e0',
    500: '#877cd2',
    950: '#000000',
  },
}
SCSS
$custom: #877cd2;
$custom-light: #ada2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#877cd2",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 247.674,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.12699,
    "h": 288.1
  },
  "luminance": 0.24219
}

Semantic roles & 50–950 ramp

primary
#877CD2
secondary
#E0E3C6
accent
#BC29A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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