#877FC9#877FC9

#877FC9 is a light, moderate blue. Relative luminance 0.245; OKLCH L 63.4% C 0.110 H 287.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#877FC9
RGBrgb(135, 127, 201)
HSLhsl(246, 41%, 64%)
HSVhsv(246, 37%, 79%)
CMYKcmyk(32.8%, 36.8%, 0%, 21.2%)
CIE-LABlab(56.63, 20.11, -37.37)
CIE-LCHlch(56.63, 42.44, 298.29°)
OKLaboklab(63.39% 0.0335 -0.1045)
OKLCHoklch(63.39% 0.11 287.8)
XYZxyz(28.1209, 24.5460, 58.5033)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FC9 #C1C97F
analogous
#7F9CC9 #877FC9 #AC7FC9
triadic
#877FC9 #C9877F #7FC987
tetradic
#877FC9 #C97F9C #C1C97F #7FC9AC
square
#877FC9 #C97F9C #C1C97F #7FC9AC
split-complementary
#877FC9 #C9AC7F #9CC97F
monochromatic
#463D91 #5F54B7 #877FC9 #AFAADB #D8D5ED

Accessibility & contrast

On white

3.55
#877FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#877FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FC9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FC9#FFFFFF#000000##000000
##877FC91.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACC
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#778D9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877fc9;
/* rgb */ color: rgb(135, 127, 201);
/* oklch */ color: oklch(63.4% 0.110 287.8);
Tailwind
colors: {
  custom: {
    50: '#aca4d9',
    500: '#877fc9',
    950: '#000000',
  },
}
SCSS
$custom: #877fc9;
$custom-light: #aca4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#877fc9",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 246.486,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63392,
    "c": 0.10971,
    "h": 287.8
  },
  "luminance": 0.24547
}

Semantic roles & 50–950 ramp

primary
#877FC9
secondary
#DCDFC5
accent
#B432A6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #877FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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