#877DEC#877DEC

#877DEC is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.9% C 0.161 H 285.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#877DEC
RGBrgb(135, 125, 236)
HSLhsl(245, 74%, 71%)
HSVhsv(245, 47%, 93%)
CMYKcmyk(42.8%, 47%, 0%, 7.5%)
CIE-LABlab(57.92, 30.89, -54.98)
CIE-LCHlch(57.92, 63.07, 299.33°)
OKLaboklab(64.95% 0.042 -0.1558)
OKLCHoklch(64.95% 0.161 285.1)
XYZxyz(32.4612, 25.8729, 82.6242)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DEC #E2EC7D
analogous
#7DAAEC #877DEC #BE7DEC
triadic
#877DEC #EC877D #7DEC87
tetradic
#877DEC #EC7DAA #E2EC7D #7DECBE
square
#877DEC #EC7DAA #E2EC7D #7DECBE
split-complementary
#877DEC #ECBE7D #AAEC7D
monochromatic
#2E1ED0 #5648E4 #877DEC #B8B2F4 #E6E4FB

Accessibility & contrast

On white

3.40
#877DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#877DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DEC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DEC#FFFFFF#000000##000000
##877DEC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#4D88E9
Tritanopia (blue-blind)
#6894A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877dec;
/* rgb */ color: rgb(135, 125, 236);
/* oklch */ color: oklch(64.9% 0.161 285.1);
Tailwind
colors: {
  custom: {
    50: '#afa2f3',
    500: '#877dec',
    950: '#000000',
  },
}
SCSS
$custom: #877dec;
$custom-light: #afa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877dec",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 245.405,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.16137,
    "h": 285.1
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#877DEC
secondary
#EFF1D3
accent
#D70FC5
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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