#877DC6#877DC6

#877DC6 is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.9% C 0.108 H 289.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#877DC6
RGBrgb(135, 125, 198)
HSLhsl(248, 39%, 63%)
HSVhsv(248, 37%, 78%)
CMYKcmyk(31.8%, 36.9%, 0%, 22.4%)
CIE-LABlab(55.98, 20.50, -36.68)
CIE-LCHlch(55.98, 42.02, 299.19°)
OKLaboklab(62.85% 0.0356 -0.1025)
OKLCHoklch(62.85% 0.108 289.2)
XYZxyz(27.5157, 23.8947, 56.5776)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DC6 #BCC67D
analogous
#7D97C6 #877DC6 #AB7DC6
triadic
#877DC6 #C6877D #7DC687
tetradic
#877DC6 #C67D97 #BCC67D #7DC6AB
square
#877DC6 #C67D97 #BCC67D #7DC6AB
split-complementary
#877DC6 #C6AB7D #97C67D
monochromatic
#483D8B #6052B3 #877DC6 #AEA8D9 #D6D2EB

Accessibility & contrast

On white

3.63
#877DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#877DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DC6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DC6#FFFFFF#000000##000000
##877DC61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6888C9
Deuteranopia (green-blind)
#6784C4
Tritanopia (blue-blind)
#788A98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877dc6;
/* rgb */ color: rgb(135, 125, 198);
/* oklch */ color: oklch(62.9% 0.108 289.2);
Tailwind
colors: {
  custom: {
    50: '#aca2d7',
    500: '#877dc6',
    950: '#000000',
  },
}
SCSS
$custom: #877dc6;
$custom-light: #aca2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#877dc6",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 248.219,
    "s": 39.037,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.10848,
    "h": 289.2
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#877DC6
secondary
#D9DCC2
accent
#B233A1
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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