#877BE4#877BE4

#877BE4 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.1% C 0.153 H 286.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#877BE4
RGBrgb(135, 123, 228)
HSLhsl(247, 66%, 69%)
HSVhsv(247, 46%, 89%)
CMYKcmyk(40.8%, 46.1%, 0%, 10.6%)
CIE-LABlab(56.99, 29.82, -51.99)
CIE-LCHlch(56.99, 59.93, 299.83°)
OKLaboklab(64.11% 0.0435 -0.1471)
OKLCHoklch(64.11% 0.153 286.5)
XYZxyz(31.0743, 24.9171, 76.5560)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BE4 #D8E47B
analogous
#7BA4E4 #877BE4 #BC7BE4
triadic
#877BE4 #E4877B #7BE487
tetradic
#877BE4 #E47BA4 #D8E47B #7BE4BC
square
#877BE4 #E47BA4 #D8E47B #7BE4BC
split-complementary
#877BE4 #E4BC7B #A4E47B
monochromatic
#3827BE #5948DA #877BE4 #B5AEEE #E3E1F9

Accessibility & contrast

On white

3.51
#877BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#877BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BE4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BE4#FFFFFF#000000##000000
##877BE41.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538CE8
Deuteranopia (green-blind)
#5186E2
Tritanopia (blue-blind)
#6C90A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877be4;
/* rgb */ color: rgb(135, 123, 228);
/* oklch */ color: oklch(64.1% 0.153 286.5);
Tailwind
colors: {
  custom: {
    50: '#aea1ed',
    500: '#877be4',
    950: '#000000',
  },
}
SCSS
$custom: #877be4;
$custom-light: #aea1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#877be4",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 246.857,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.15335,
    "h": 286.5
  },
  "luminance": 0.24918
}

Semantic roles & 50–950 ramp

primary
#877BE4
secondary
#E9EDCE
accent
#CE18B9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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