#877CE2#877CE2

#877CE2 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.2% C 0.149 H 286.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#877CE2
RGBrgb(135, 124, 226)
HSLhsl(246, 64%, 69%)
HSVhsv(246, 45%, 89%)
CMYKcmyk(40.3%, 45.1%, 0%, 11.4%)
CIE-LABlab(57.13, 28.67, -50.66)
CIE-LCHlch(57.13, 58.21, 299.51°)
OKLaboklab(64.18% 0.0419 -0.1432)
OKLCHoklch(64.18% 0.149 286.3)
XYZxyz(30.9229, 25.0561, 75.1438)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CE2 #D7E27C
analogous
#7CA4E2 #877CE2 #BA7CE2
triadic
#877CE2 #E2877C #7CE287
tetradic
#877CE2 #E27CA4 #D7E27C #7CE2BA
square
#877CE2 #E27CA4 #D7E27C #7CE2BA
split-complementary
#877CE2 #E2BA7C #A4E27C
monochromatic
#3929BA #594AD7 #877CE2 #B5AEED #E3E0F8

Accessibility & contrast

On white

3.49
#877CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#877CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CE2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CE2#FFFFFF#000000##000000
##877CE21.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#568CE6
Deuteranopia (green-blind)
#5486E0
Tritanopia (blue-blind)
#6D90A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877ce2;
/* rgb */ color: rgb(135, 124, 226);
/* oklch */ color: oklch(64.2% 0.149 286.3);
Tailwind
colors: {
  custom: {
    50: '#aea2eb',
    500: '#877ce2',
    950: '#000000',
  },
}
SCSS
$custom: #877ce2;
$custom-light: #aea2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#877ce2",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 246.471,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64179,
    "c": 0.14918,
    "h": 286.3
  },
  "luminance": 0.25057
}

Semantic roles & 50–950 ramp

primary
#877CE2
secondary
#E9ECCE
accent
#CC1AB8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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