#877CCC#877CCC

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

Color values

HEX#877CCC
RGBrgb(135, 124, 204)
HSLhsl(248, 44%, 64%)
HSVhsv(248, 39%, 80%)
CMYKcmyk(33.8%, 39.2%, 0%, 20%)
CIE-LABlab(56.01, 22.67, -40.04)
CIE-LCHlch(56.01, 46.01, 299.52°)
OKLaboklab(62.97% 0.0383 -0.1122)
OKLCHoklch(62.97% 0.119 288.8)
XYZxyz(28.0955, 23.9251, 60.2528)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CCC #C1CC7C
analogous
#7C99CC #877CCC #AF7CCC
triadic
#877CCC #CC877C #7CCC87
tetradic
#877CCC #CC7C99 #C1CC7C #7CCCAF
square
#877CCC #CC7C99 #C1CC7C #7CCCAF
split-complementary
#877CCC #CCAF7C #99CC7C
monochromatic
#463A94 #5F50BB #877CCC #AFA8DD #D8D4EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CCC#FFFFFF#000000##000000
##877CCC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#6384CA
Tritanopia (blue-blind)
#768B9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877ccc;
/* rgb */ color: rgb(135, 124, 204);
/* oklch */ color: oklch(63.0% 0.119 288.8);
Tailwind
colors: {
  custom: {
    50: '#aca2dc',
    500: '#877ccc',
    950: '#000000',
  },
}
SCSS
$custom: #877ccc;
$custom-light: #aca2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#877ccc",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 248.25,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62967,
    "c": 0.11854,
    "h": 288.8
  },
  "luminance": 0.23926
}

Semantic roles & 50–950 ramp

primary
#877CCC
secondary
#DCE0C4
accent
#B72EA4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #877CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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