#877CEE#877CEE

#877CEE is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.165 H 285.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#877CEE
RGBrgb(135, 124, 238)
HSLhsl(246, 77%, 71%)
HSVhsv(246, 48%, 93%)
CMYKcmyk(43.3%, 47.9%, 0%, 6.7%)
CIE-LABlab(57.79, 32.05, -56.30)
CIE-LCHlch(57.79, 64.78, 299.65°)
OKLaboklab(64.89% 0.0434 -0.1597)
OKLCHoklch(64.89% 0.165 285.2)
XYZxyz(32.6275, 25.7379, 84.1211)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CEE #E3EE7C
analogous
#7CAAEE #877CEE #C07CEE
triadic
#877CEE #EE877C #7CEE87
tetradic
#877CEE #EE7CAA #E3EE7C #7CEEC0
square
#877CEE #EE7CAA #E3EE7C #7CEEC0
split-complementary
#877CEE #EEC07C #AAEE7C
monochromatic
#2D1CD4 #5546E7 #877CEE #B9B2F5 #E6E4FB

Accessibility & contrast

On white

3.42
#877CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#877CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CEE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CEE#FFFFFF#000000##000000
##877CEE1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#6794AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877cee;
/* rgb */ color: rgb(135, 124, 238);
/* oklch */ color: oklch(64.9% 0.165 285.2);
Tailwind
colors: {
  custom: {
    50: '#afa2f4',
    500: '#877cee',
    950: '#000000',
  },
}
SCSS
$custom: #877cee;
$custom-light: #afa2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#877cee",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 245.789,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.16547,
    "h": 285.2
  },
  "luminance": 0.25739
}

Semantic roles & 50–950 ramp

primary
#877CEE
secondary
#EFF2D4
accent
#D90CC5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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