#877EBA#877EBA

#877EBA is a light, moderate blue. Relative luminance 0.236; OKLCH L 62.5% C 0.090 H 290.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#877EBA
RGBrgb(135, 126, 186)
HSLhsl(249, 30%, 61%)
HSVhsv(249, 32%, 73%)
CMYKcmyk(27.4%, 32.3%, 0%, 27.1%)
CIE-LABlab(55.70, 16.81, -30.28)
CIE-LCHlch(55.70, 34.63, 299.04°)
OKLaboklab(62.46% 0.0313 -0.084)
OKLCHoklch(62.46% 0.09 290.4)
XYZxyz(26.3133, 23.6173, 49.6171)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EBA #B1BA7E
analogous
#7E93BA #877EBA #A57EBA
triadic
#877EBA #BA877E #7EBA87
tetradic
#877EBA #BA7E93 #B1BA7E #7EBAA5
square
#877EBA #BA7E93 #B1BA7E #7EBAA5
split-complementary
#877EBA #BAA57E #93BA7E
monochromatic
#4B427C #6357A3 #877EBA #ACA6CF #D1CEE5

Accessibility & contrast

On white

3.67
#877EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#877EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EBA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EBA#FFFFFF#000000##000000
##877EBA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BC
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#7C8894
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #877eba;
/* rgb */ color: rgb(135, 126, 186);
/* oklch */ color: oklch(62.5% 0.090 290.4);
Tailwind
colors: {
  custom: {
    50: '#aba3cf',
    500: '#877eba',
    950: '#000000',
  },
}
SCSS
$custom: #877eba;
$custom-light: #aba3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#877eba",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 249,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6246,
    "c": 0.08965,
    "h": 290.4
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#877EBA
secondary
#D2D5BF
accent
#A93D99
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F13
muted
#7F7F82

Preview Lab

Preview with #877EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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