#877DC2#877DC2

#877DC2 is a light, moderate blue. Relative luminance 0.237; OKLCH L 62.6% C 0.103 H 289.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#877DC2
RGBrgb(135, 125, 194)
HSLhsl(249, 36%, 63%)
HSVhsv(249, 36%, 76%)
CMYKcmyk(30.4%, 35.6%, 0%, 23.9%)
CIE-LABlab(55.80, 19.45, -34.69)
CIE-LCHlch(55.80, 39.77, 299.28°)
OKLaboklab(62.65% 0.0347 -0.0967)
OKLCHoklch(62.65% 0.103 289.7)
XYZxyz(27.0604, 23.7126, 54.1798)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DC2 #B8C27D
analogous
#7D95C2 #877DC2 #AA7DC2
triadic
#877DC2 #C2877D #7DC287
tetradic
#877DC2 #C27D95 #B8C27D #7DC2AA
square
#877DC2 #C27D95 #B8C27D #7DC2AA
split-complementary
#877DC2 #C2AA7D #95C27D
monochromatic
#493F86 #6153AE #877DC2 #ADA7D6 #D4D0E9

Accessibility & contrast

On white

3.66
#877DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#877DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DC2#FFFFFF#000000##000000
##877DC21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6987C5
Deuteranopia (green-blind)
#6984C0
Tritanopia (blue-blind)
#798996
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877dc2;
/* rgb */ color: rgb(135, 125, 194);
/* oklch */ color: oklch(62.6% 0.103 289.7);
Tailwind
colors: {
  custom: {
    50: '#aba2d4',
    500: '#877dc2',
    950: '#000000',
  },
}
SCSS
$custom: #877dc2;
$custom-light: #aba2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#877dc2",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 248.696,
    "s": 36.126,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6265,
    "c": 0.10276,
    "h": 289.7
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#877DC2
secondary
#D6DAC1
accent
#AF369E
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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