#877DE8#877DE8

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

Color values

HEX#877DE8
RGBrgb(135, 125, 232)
HSLhsl(246, 70%, 70%)
HSVhsv(246, 46%, 91%)
CMYKcmyk(41.8%, 46.1%, 0%, 9%)
CIE-LABlab(57.70, 29.77, -53.10)
CIE-LCHlch(57.70, 60.88, 299.27°)
OKLaboklab(64.71% 0.0415 -0.1503)
OKLCHoklch(64.71% 0.156 285.4)
XYZxyz(31.8866, 25.6431, 79.5978)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DE8 #DEE87D
analogous
#7DA9E8 #877DE8 #BC7DE8
triadic
#877DE8 #E8877D #7DE887
tetradic
#877DE8 #E87DA9 #DEE87D #7DE8BC
square
#877DE8 #E87DA9 #DEE87D #7DE8BC
split-complementary
#877DE8 #E8BC7D #A9E87D
monochromatic
#3323C7 #5749DF #877DE8 #B7B1F1 #E7E5FA

Accessibility & contrast

On white

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

On black

6.13
#877DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DE8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DE8#FFFFFF#000000##000000
##877DE81.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEC
Deuteranopia (green-blind)
#5187E6
Tritanopia (blue-blind)
#6A93A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877de8;
/* rgb */ color: rgb(135, 125, 232);
/* oklch */ color: oklch(64.7% 0.156 285.4);
Tailwind
colors: {
  custom: {
    50: '#aea2f0',
    500: '#877de8',
    950: '#000000',
  },
}
SCSS
$custom: #877de8;
$custom-light: #aea2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#877de8",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 245.607,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.15594,
    "h": 285.4
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#877DE8
secondary
#EDEFD1
accent
#D214C0
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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