#877DC8#877DC8

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

Color values

HEX#877DC8
RGBrgb(135, 125, 200)
HSLhsl(248, 41%, 64%)
HSVhsv(248, 38%, 78%)
CMYKcmyk(32.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(56.08, 21.02, -37.67)
CIE-LCHlch(56.08, 43.14, 299.16°)
OKLaboklab(62.95% 0.0361 -0.1053)
OKLCHoklch(62.95% 0.111 288.9)
XYZxyz(27.7479, 23.9876, 57.8005)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DC8 #BEC87D
analogous
#7D98C8 #877DC8 #AC7DC8
triadic
#877DC8 #C8877D #7DC887
tetradic
#877DC8 #C87D98 #BEC87D #7DC8AC
square
#877DC8 #C87D98 #BEC87D #7DC8AC
split-complementary
#877DC8 #C8AC7D #98C87D
monochromatic
#473C8E #5F52B6 #877DC8 #AFA8DA #D6D3EC

Accessibility & contrast

On white

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

On black

5.80
#877DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DC8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DC8#FFFFFF#000000##000000
##877DC81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6788CB
Deuteranopia (green-blind)
#6685C6
Tritanopia (blue-blind)
#778B99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877dc8;
/* rgb */ color: rgb(135, 125, 200);
/* oklch */ color: oklch(63.0% 0.111 288.9);
Tailwind
colors: {
  custom: {
    50: '#aca2d9',
    500: '#877dc8',
    950: '#000000',
  },
}
SCSS
$custom: #877dc8;
$custom-light: #aca2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#877dc8",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 248,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.11133,
    "h": 288.9
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#877DC8
secondary
#DADEC3
accent
#B432A2
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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