#877CE5#877CE5

#877CE5 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.4% C 0.153 H 286.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#877CE5
RGBrgb(135, 124, 229)
HSLhsl(246, 67%, 69%)
HSVhsv(246, 46%, 90%)
CMYKcmyk(41%, 45.9%, 0%, 10.2%)
CIE-LABlab(57.29, 29.51, -52.08)
CIE-LCHlch(57.29, 59.86, 299.54°)
OKLaboklab(64.35% 0.0423 -0.1473)
OKLCHoklch(64.35% 0.153 286)
XYZxyz(31.3382, 25.2222, 77.3307)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CE5 #DAE57C
analogous
#7CA6E5 #877CE5 #BC7CE5
triadic
#877CE5 #E5877C #7CE587
tetradic
#877CE5 #E57CA6 #DAE57C #7CE5BC
square
#877CE5 #E57CA6 #DAE57C #7CE5BC
split-complementary
#877CE5 #E5BC7C #A6E57C
monochromatic
#3626C0 #5849DB #877CE5 #B6AFEF #E5E2F9

Accessibility & contrast

On white

3.47
#877CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#877CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CE5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CE5#FFFFFF#000000##000000
##877CE51.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548CE9
Deuteranopia (green-blind)
#5287E3
Tritanopia (blue-blind)
#6C91A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877ce5;
/* rgb */ color: rgb(135, 124, 229);
/* oklch */ color: oklch(64.4% 0.153 286.0);
Tailwind
colors: {
  custom: {
    50: '#aea2ee',
    500: '#877ce5',
    950: '#000000',
  },
}
SCSS
$custom: #877ce5;
$custom-light: #aea2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#877ce5",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 246.286,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.15328,
    "h": 286
  },
  "luminance": 0.25223
}

Semantic roles & 50–950 ramp

primary
#877CE5
secondary
#EAEECF
accent
#CF17BB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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