#877DCB#877DCB

#877DCB is a light, moderate blue. Relative luminance 0.241; OKLCH L 63.1% C 0.116 H 288.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#877DCB
RGBrgb(135, 125, 203)
HSLhsl(248, 43%, 64%)
HSVhsv(248, 38%, 80%)
CMYKcmyk(33.5%, 38.4%, 0%, 20.4%)
CIE-LABlab(56.22, 21.82, -39.15)
CIE-LCHlch(56.22, 44.82, 299.13°)
OKLaboklab(63.11% 0.0367 -0.1096)
OKLCHoklch(63.11% 0.116 288.5)
XYZxyz(28.1019, 24.1292, 59.6651)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DCB #C1CB7D
analogous
#7D9ACB #877DCB #AE7DCB
triadic
#877DCB #CB877D #7DCB87
tetradic
#877DCB #CB7D9A #C1CB7D #7DCBAE
square
#877DCB #CB7D9A #C1CB7D #7DCBAE
split-complementary
#877DCB #CBAE7D #9ACB7D
monochromatic
#463B93 #5F51BA #877DCB #AFA9DC #D8D4EE

Accessibility & contrast

On white

3.60
#877DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#877DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DCB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DCB#FFFFFF#000000##000000
##877DCB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CE
Deuteranopia (green-blind)
#6585C9
Tritanopia (blue-blind)
#768B9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877dcb;
/* rgb */ color: rgb(135, 125, 203);
/* oklch */ color: oklch(63.1% 0.116 288.5);
Tailwind
colors: {
  custom: {
    50: '#aca2db',
    500: '#877dcb',
    950: '#000000',
  },
}
SCSS
$custom: #877dcb;
$custom-light: #aca2db;
$custom-dark: #000000;
JSON
{
  "hex": "#877dcb",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 247.692,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.1156,
    "h": 288.5
  },
  "luminance": 0.2413
}

Semantic roles & 50–950 ramp

primary
#877DCB
secondary
#DCDFC4
accent
#B630A5
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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