#877CEC#877CEC

#877CEC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.163 H 285.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#877CEC
RGBrgb(135, 124, 236)
HSLhsl(246, 75%, 71%)
HSVhsv(246, 47%, 93%)
CMYKcmyk(42.8%, 47.5%, 0%, 7.5%)
CIE-LABlab(57.68, 31.48, -55.37)
CIE-LCHlch(57.68, 63.69, 299.62°)
OKLaboklab(64.77% 0.0432 -0.1569)
OKLCHoklch(64.77% 0.163 285.4)
XYZxyz(32.3353, 25.6210, 82.5822)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CEC #E1EC7C
analogous
#7CA9EC #877CEC #BF7CEC
triadic
#877CEC #EC877C #7CEC87
tetradic
#877CEC #EC7CA9 #E1EC7C #7CECBF
square
#877CEC #EC7CA9 #E1EC7C #7CECBF
split-complementary
#877CEC #ECBF7C #A9EC7C
monochromatic
#301ED0 #5647E4 #877CEC #B8B1F4 #E7E4FB

Accessibility & contrast

On white

3.43
#877CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#877CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CEC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CEC#FFFFFF#000000##000000
##877CEC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#6893A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877cec;
/* rgb */ color: rgb(135, 124, 236);
/* oklch */ color: oklch(64.8% 0.163 285.4);
Tailwind
colors: {
  custom: {
    50: '#afa2f3',
    500: '#877cec',
    950: '#000000',
  },
}
SCSS
$custom: #877cec;
$custom-light: #afa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877cec",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 245.893,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.16278,
    "h": 285.4
  },
  "luminance": 0.25622
}

Semantic roles & 50–950 ramp

primary
#877CEC
secondary
#EEF1D3
accent
#D70FC3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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