#877CCD#877CCD

#877CCD is a light, moderate blue. Relative luminance 0.240; OKLCH L 63.0% C 0.120 H 288.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#877CCD
RGBrgb(135, 124, 205)
HSLhsl(248, 45%, 65%)
HSVhsv(248, 40%, 80%)
CMYKcmyk(34.1%, 39.5%, 0%, 19.6%)
CIE-LABlab(56.06, 22.94, -40.53)
CIE-LCHlch(56.06, 46.57, 299.51°)
OKLaboklab(63.02% 0.0385 -0.1136)
OKLCHoklch(63.02% 0.12 288.7)
XYZxyz(28.2158, 23.9733, 60.8865)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CCD #C2CD7C
analogous
#7C9ACD #877CCD #B07CCD
triadic
#877CCD #CD877C #7CCD87
tetradic
#877CCD #CD7C9A #C2CD7C #7CCDB0
square
#877CCD #CD7C9A #C2CD7C #7CCDB0
split-complementary
#877CCD #CDB07C #9ACD7C
monochromatic
#463996 #5E50BC #877CCD #B0A8DE #D8D5EF

Accessibility & contrast

On white

3.62
#877CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#877CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CCD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CCD#FFFFFF#000000##000000
##877CCD1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#6284CB
Tritanopia (blue-blind)
#768B9B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877ccd;
/* rgb */ color: rgb(135, 124, 205);
/* oklch */ color: oklch(63.0% 0.120 288.7);
Tailwind
colors: {
  custom: {
    50: '#aca2dc',
    500: '#877ccd',
    950: '#000000',
  },
}
SCSS
$custom: #877ccd;
$custom-light: #aca2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#877ccd",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 248.148,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63019,
    "c": 0.11995,
    "h": 288.7
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

primary
#877CCD
secondary
#DDE0C4
accent
#B82EA5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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