#877EC9#877EC9

#877EC9 is a light, moderate blue. Relative luminance 0.243; OKLCH L 63.2% C 0.111 H 288.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#877EC9
RGBrgb(135, 126, 201)
HSLhsl(247, 41%, 64%)
HSVhsv(247, 37%, 79%)
CMYKcmyk(32.8%, 37.3%, 0%, 21.2%)
CIE-LABlab(56.38, 20.70, -37.77)
CIE-LCHlch(56.38, 43.07, 298.72°)
OKLaboklab(63.2% 0.0349 -0.1056)
OKLCHoklch(63.2% 0.111 288.3)
XYZxyz(27.9924, 24.2890, 58.4604)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EC9 #C0C97E
analogous
#7E9BC9 #877EC9 #AD7EC9
triadic
#877EC9 #C9877E #7EC987
tetradic
#877EC9 #C97E9B #C0C97E #7EC9AD
square
#877EC9 #C97E9B #C0C97E #7EC9AD
split-complementary
#877EC9 #C9AD7E #9BC97E
monochromatic
#463C90 #5F53B7 #877EC9 #AFA9DB #D7D4ED

Accessibility & contrast

On white

3.58
#877EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#877EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EC9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EC9#FFFFFF#000000##000000
##877EC91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CC
Deuteranopia (green-blind)
#6785C7
Tritanopia (blue-blind)
#778C9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #877ec9;
/* rgb */ color: rgb(135, 126, 201);
/* oklch */ color: oklch(63.2% 0.111 288.3);
Tailwind
colors: {
  custom: {
    50: '#aca3d9',
    500: '#877ec9',
    950: '#000000',
  },
}
SCSS
$custom: #877ec9;
$custom-light: #aca3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#877ec9",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 247.2,
    "s": 40.984,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.11123,
    "h": 288.3
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#877EC9
secondary
#DBDEC4
accent
#B431A4
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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