#877CE7#877CE7

#877CE7 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.5% C 0.156 H 285.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#877CE7
RGBrgb(135, 124, 231)
HSLhsl(246, 69%, 70%)
HSVhsv(246, 46%, 91%)
CMYKcmyk(41.6%, 46.3%, 0%, 9.4%)
CIE-LABlab(57.40, 30.07, -53.02)
CIE-LCHlch(57.40, 60.95, 299.56°)
OKLaboklab(64.47% 0.0426 -0.1501)
OKLCHoklch(64.47% 0.156 285.8)
XYZxyz(31.6190, 25.3345, 78.8099)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CE7 #DCE77C
analogous
#7CA7E7 #877CE7 #BC7CE7
triadic
#877CE7 #E7877C #7CE787
tetradic
#877CE7 #E77CA7 #DCE77C #7CE7BC
square
#877CE7 #E77CA7 #DCE77C #7CE7BC
split-complementary
#877CE7 #E7BC7C #A7E77C
monochromatic
#3524C5 #5848DE #877CE7 #B6B0F0 #E6E3FA

Accessibility & contrast

On white

3.46
#877CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#877CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CE7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CE7#FFFFFF#000000##000000
##877CE71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528DEB
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#6B92A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877ce7;
/* rgb */ color: rgb(135, 124, 231);
/* oklch */ color: oklch(64.5% 0.156 285.8);
Tailwind
colors: {
  custom: {
    50: '#aea2ef',
    500: '#877ce7',
    950: '#000000',
  },
}
SCSS
$custom: #877ce7;
$custom-light: #aea2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#877ce7",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 246.168,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6447,
    "c": 0.156,
    "h": 285.8
  },
  "luminance": 0.25336
}

Semantic roles & 50–950 ramp

primary
#877CE7
secondary
#ECEFD0
accent
#D115BE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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