#877CE8#877CE8

#877CE8 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.5% C 0.157 H 285.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#877CE8
RGBrgb(135, 124, 232)
HSLhsl(246, 70%, 70%)
HSVhsv(246, 47%, 91%)
CMYKcmyk(41.8%, 46.6%, 0%, 9%)
CIE-LABlab(57.45, 30.35, -53.49)
CIE-LCHlch(57.45, 61.50, 299.57°)
OKLaboklab(64.53% 0.0427 -0.1515)
OKLCHoklch(64.53% 0.157 285.7)
XYZxyz(31.7607, 25.3912, 79.5558)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CE8 #DDE87C
analogous
#7CA7E8 #877CE8 #BD7CE8
triadic
#877CE8 #E8877C #7CE887
tetradic
#877CE8 #E87CA7 #DDE87C #7CE8BD
square
#877CE8 #E87CA7 #DDE87C #7CE8BD
split-complementary
#877CE8 #E8BD7C #A7E87C
monochromatic
#3423C7 #5748DF #877CE8 #B7B0F1 #E6E4FA

Accessibility & contrast

On white

3.45
#877CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#877CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CE8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CE8#FFFFFF#000000##000000
##877CE81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528DEC
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#6A92A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877ce8;
/* rgb */ color: rgb(135, 124, 232);
/* oklch */ color: oklch(64.5% 0.157 285.7);
Tailwind
colors: {
  custom: {
    50: '#aea2f0',
    500: '#877ce8',
    950: '#000000',
  },
}
SCSS
$custom: #877ce8;
$custom-light: #aea2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#877ce8",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 246.111,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.15736,
    "h": 285.7
  },
  "luminance": 0.25392
}

Semantic roles & 50–950 ramp

primary
#877CE8
secondary
#ECEFD1
accent
#D213BF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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