#877EB5#877EB5

#877EB5 is a light, moderate blue. Relative luminance 0.234; OKLCH L 62.2% C 0.082 H 291.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#877EB5
RGBrgb(135, 126, 181)
HSLhsl(250, 27%, 60%)
HSVhsv(250, 30%, 71%)
CMYKcmyk(25.4%, 30.4%, 0%, 29%)
CIE-LABlab(55.49, 15.55, -27.75)
CIE-LCHlch(55.49, 31.81, 299.27°)
OKLaboklab(62.23% 0.03 -0.0768)
OKLCHoklch(62.23% 0.082 291.3)
XYZxyz(25.7910, 23.4084, 46.8666)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EB5 #ACB57E
analogous
#7E90B5 #877EB5 #A27EB5
triadic
#877EB5 #B5877E #7EB587
tetradic
#877EB5 #B57E90 #ACB57E #7EB5A2
square
#877EB5 #B57E90 #ACB57E #7EB5A2
split-complementary
#877EB5 #B5A27E #90B57E
monochromatic
#4B4375 #645A9C #877EB5 #ABA5CB #CFCCE2

Accessibility & contrast

On white

3.70
#877EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#877EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EB5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EB5#FFFFFF#000000##000000
##877EB51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B7
Deuteranopia (green-blind)
#7084B4
Tritanopia (blue-blind)
#7D8792
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877eb5;
/* rgb */ color: rgb(135, 126, 181);
/* oklch */ color: oklch(62.2% 0.082 291.3);
Tailwind
colors: {
  custom: {
    50: '#aba3cb',
    500: '#877eb5',
    950: '#000000',
  },
}
SCSS
$custom: #877eb5;
$custom-light: #aba3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#877eb5",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 249.818,
    "s": 27.094,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62227,
    "c": 0.0824,
    "h": 291.3
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#877EB5
secondary
#CED2BD
accent
#A64095
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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