#877CEA#877CEA

#877CEA is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.6% C 0.160 H 285.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#877CEA
RGBrgb(135, 124, 234)
HSLhsl(246, 72%, 70%)
HSVhsv(246, 47%, 92%)
CMYKcmyk(42.3%, 47%, 0%, 8.2%)
CIE-LABlab(57.56, 30.91, -54.43)
CIE-LCHlch(57.56, 62.60, 299.60°)
OKLaboklab(64.65% 0.0429 -0.1542)
OKLCHoklch(64.65% 0.16 285.6)
XYZxyz(32.0464, 25.5055, 81.0605)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CEA #DFEA7C
analogous
#7CA8EA #877CEA #BE7CEA
triadic
#877CEA #EA877C #7CEA87
tetradic
#877CEA #EA7CA8 #DFEA7C #7CEABE
square
#877CEA #EA7CA8 #DFEA7C #7CEABE
split-complementary
#877CEA #EABE7C #A8EA7C
monochromatic
#3221CB #5747E2 #877CEA #B7B1F2 #E7E5FB

Accessibility & contrast

On white

3.44
#877CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#877CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CEA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CEA#FFFFFF#000000##000000
##877CEA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#6993A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877cea;
/* rgb */ color: rgb(135, 124, 234);
/* oklch */ color: oklch(64.6% 0.160 285.6);
Tailwind
colors: {
  custom: {
    50: '#afa2f1',
    500: '#877cea',
    950: '#000000',
  },
}
SCSS
$custom: #877cea;
$custom-light: #afa2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#877cea",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 246,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.16007,
    "h": 285.6
  },
  "luminance": 0.25507
}

Semantic roles & 50–950 ramp

primary
#877CEA
secondary
#EDF0D2
accent
#D411C1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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