#877EC2#877EC2

#877EC2 is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.8% C 0.101 H 289.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#877EC2
RGBrgb(135, 126, 194)
HSLhsl(248, 36%, 63%)
HSVhsv(248, 35%, 76%)
CMYKcmyk(30.4%, 35.1%, 0%, 23.9%)
CIE-LABlab(56.05, 18.86, -34.29)
CIE-LCHlch(56.05, 39.14, 298.81°)
OKLaboklab(62.85% 0.0333 -0.0956)
OKLCHoklch(62.85% 0.101 289.2)
XYZxyz(27.1876, 23.9671, 54.2222)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EC2 #B9C27E
analogous
#7E97C2 #877EC2 #A97EC2
triadic
#877EC2 #C2877E #7EC287
tetradic
#877EC2 #C27E97 #B9C27E #7EC2A9
square
#877EC2 #C27E97 #B9C27E #7EC2A9
split-complementary
#877EC2 #C2A97E #97C27E
monochromatic
#493F86 #6054AE #877EC2 #AEA8D6 #D4D1E9

Accessibility & contrast

On white

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

On black

5.79
#877EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EC2#FFFFFF#000000##000000
##877EC21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B88C5
Deuteranopia (green-blind)
#6A85C0
Tritanopia (blue-blind)
#798A97
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #877ec2;
/* rgb */ color: rgb(135, 126, 194);
/* oklch */ color: oklch(62.8% 0.101 289.2);
Tailwind
colors: {
  custom: {
    50: '#aba3d4',
    500: '#877ec2',
    950: '#000000',
  },
}
SCSS
$custom: #877ec2;
$custom-light: #aba3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#877ec2",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 247.941,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.10121,
    "h": 289.2
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#877EC2
secondary
#D7DAC2
accent
#AF379F
background
#FAFAFD
surface
#F4F3FA
border
#CECDD3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #877EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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