#877CE4#877CE4

#877CE4 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.3% C 0.152 H 286.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#877CE4
RGBrgb(135, 124, 228)
HSLhsl(246, 66%, 69%)
HSVhsv(246, 46%, 89%)
CMYKcmyk(40.8%, 45.6%, 0%, 10.6%)
CIE-LABlab(57.24, 29.23, -51.60)
CIE-LCHlch(57.24, 59.31, 299.53°)
OKLaboklab(64.3% 0.0422 -0.1459)
OKLCHoklch(64.3% 0.152 286.1)
XYZxyz(31.1990, 25.1665, 76.5975)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CE4 #D9E47C
analogous
#7CA5E4 #877CE4 #BB7CE4
triadic
#877CE4 #E4877C #7CE487
tetradic
#877CE4 #E47CA5 #D9E47C #7CE4BB
square
#877CE4 #E47CA5 #D9E47C #7CE4BB
split-complementary
#877CE4 #E4BB7C #A5E47C
monochromatic
#3727BE #5949DA #877CE4 #B5AFEE #E4E1F9

Accessibility & contrast

On white

3.48
#877CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#877CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CE4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CE4#FFFFFF#000000##000000
##877CE41.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#558CE8
Deuteranopia (green-blind)
#5386E2
Tritanopia (blue-blind)
#6C91A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877ce4;
/* rgb */ color: rgb(135, 124, 228);
/* oklch */ color: oklch(64.3% 0.152 286.1);
Tailwind
colors: {
  custom: {
    50: '#aea2ed',
    500: '#877ce4',
    950: '#000000',
  },
}
SCSS
$custom: #877ce4;
$custom-light: #aea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#877ce4",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 246.346,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64295,
    "c": 0.15191,
    "h": 286.1
  },
  "luminance": 0.25168
}

Semantic roles & 50–950 ramp

primary
#877CE4
secondary
#EAEDCF
accent
#CE18BA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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