#877CDB#877CDB

#877CDB is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.8% C 0.140 H 287.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#877CDB
RGBrgb(135, 124, 219)
HSLhsl(247, 57%, 67%)
HSVhsv(247, 43%, 86%)
CMYKcmyk(38.4%, 43.4%, 0%, 14.1%)
CIE-LABlab(56.76, 26.73, -47.32)
CIE-LCHlch(56.76, 54.35, 299.47°)
OKLaboklab(63.78% 0.0409 -0.1334)
OKLCHoklch(63.78% 0.14 287.1)
XYZxyz(29.9820, 24.6797, 70.1881)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CDB #D0DB7C
analogous
#7CA1DB #877CDB #B67CDB
triadic
#877CDB #DB877C #7CDB87
tetradic
#877CDB #DB7CA1 #D0DB7C #7CDBB6
square
#877CDB #DB7CA1 #D0DB7C #7CDBB6
split-complementary
#877CDB #DBB67C #A1DB7C
monochromatic
#3E30AD #5B4CCE #877CDB #B3ACE8 #DFDCF5

Accessibility & contrast

On white

3.54
#877CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#877CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CDB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CDB#FFFFFF#000000##000000
##877CDB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BDF
Deuteranopia (green-blind)
#5986D9
Tritanopia (blue-blind)
#708FA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877cdb;
/* rgb */ color: rgb(135, 124, 219);
/* oklch */ color: oklch(63.8% 0.140 287.1);
Tailwind
colors: {
  custom: {
    50: '#ada2e6',
    500: '#877cdb',
    950: '#000000',
  },
}
SCSS
$custom: #877cdb;
$custom-light: #ada2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#877cdb",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 246.947,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63781,
    "c": 0.13953,
    "h": 287.1
  },
  "luminance": 0.24681
}

Semantic roles & 50–950 ramp

primary
#877CDB
secondary
#E5E8CA
accent
#C421B2
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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