#877DE4#877DE4

#877DE4 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.5% C 0.150 H 285.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#877DE4
RGBrgb(135, 125, 228)
HSLhsl(246, 66%, 69%)
HSVhsv(246, 45%, 89%)
CMYKcmyk(40.8%, 45.2%, 0%, 10.6%)
CIE-LABlab(57.48, 28.64, -51.22)
CIE-LCHlch(57.48, 58.68, 299.22°)
OKLaboklab(64.48% 0.041 -0.1448)
OKLCHoklch(64.48% 0.15 285.8)
XYZxyz(31.3249, 25.4184, 76.6395)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DE4 #DAE47D
analogous
#7DA7E4 #877DE4 #BB7DE4
triadic
#877DE4 #E4877D #7DE487
tetradic
#877DE4 #E47DA7 #DAE47D #7DE4BB
square
#877DE4 #E47DA7 #DAE47D #7DE4BB
split-complementary
#877DE4 #E4BB7D #A7E47D
monochromatic
#3628BF #584AD9 #877DE4 #B6B0EF #E5E2F9

Accessibility & contrast

On white

3.45
#877DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#877DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DE4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DE4#FFFFFF#000000##000000
##877DE41.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#5487E2
Tritanopia (blue-blind)
#6C92A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877de4;
/* rgb */ color: rgb(135, 125, 228);
/* oklch */ color: oklch(64.5% 0.150 285.8);
Tailwind
colors: {
  custom: {
    50: '#aea2ed',
    500: '#877de4',
    950: '#000000',
  },
}
SCSS
$custom: #877de4;
$custom-light: #aea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#877de4",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 228
  },
  "hsl": {
    "h": 245.825,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64479,
    "c": 0.15048,
    "h": 285.8
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#877DE4
secondary
#EAEDCF
accent
#CD18BC
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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