#877DE2#877DE2

#877DE2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.4% C 0.148 H 286.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#877DE2
RGBrgb(135, 125, 226)
HSLhsl(246, 64%, 69%)
HSVhsv(246, 45%, 89%)
CMYKcmyk(40.3%, 44.7%, 0%, 11.4%)
CIE-LABlab(57.37, 28.09, -50.27)
CIE-LCHlch(57.37, 57.58, 299.19°)
OKLaboklab(64.36% 0.0407 -0.142)
OKLCHoklch(64.36% 0.148 286)
XYZxyz(31.0489, 25.3080, 75.1858)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DE2 #D8E27D
analogous
#7DA6E2 #877DE2 #BA7DE2
triadic
#877DE2 #E2877D #7DE287
tetradic
#877DE2 #E27DA6 #D8E27D #7DE2BA
square
#877DE2 #E27DA6 #D8E27D #7DE2BA
split-complementary
#877DE2 #E2BA7D #A6E27D
monochromatic
#382ABB #594BD7 #877DE2 #B5AFED #E3E1F8

Accessibility & contrast

On white

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

On black

6.06
#877DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DE2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DE2#FFFFFF#000000##000000
##877DE21.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#6D91A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877de2;
/* rgb */ color: rgb(135, 125, 226);
/* oklch */ color: oklch(64.4% 0.148 286.0);
Tailwind
colors: {
  custom: {
    50: '#aea2eb',
    500: '#877de2',
    950: '#000000',
  },
}
SCSS
$custom: #877de2;
$custom-light: #aea2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#877de2",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 245.941,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64364,
    "c": 0.14773,
    "h": 286
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#877DE2
secondary
#E9ECCE
accent
#CB1ABA
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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