#877AE2#877AE2

#877AE2 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.8% C 0.152 H 287.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#877AE2
RGBrgb(135, 122, 226)
HSLhsl(248, 64%, 68%)
HSVhsv(248, 46%, 89%)
CMYKcmyk(40.3%, 46%, 0%, 11.4%)
CIE-LABlab(56.64, 29.84, -51.43)
CIE-LCHlch(56.64, 59.46, 300.13°)
OKLaboklab(63.81% 0.0444 -0.1454)
OKLCHoklch(63.81% 0.152 287)
XYZxyz(30.6748, 24.5599, 75.0611)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AE2 #D5E27A
analogous
#7AA1E2 #877AE2 #BB7AE2
triadic
#877AE2 #E2877A #7AE287
tetradic
#877AE2 #E27AA1 #D5E27A #7AE2BB
square
#877AE2 #E27AA1 #D5E27A #7AE2BB
split-complementary
#877AE2 #E2BB7A #A1E27A
monochromatic
#3A28B9 #5A48D7 #877AE2 #B4ACED #E2DEF8

Accessibility & contrast

On white

3.55
#877AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#877AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AE2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AE2#FFFFFF#000000##000000
##877AE21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#5185E0
Tritanopia (blue-blind)
#6D8FA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877ae2;
/* rgb */ color: rgb(135, 122, 226);
/* oklch */ color: oklch(63.8% 0.152 287.0);
Tailwind
colors: {
  custom: {
    50: '#aea0eb',
    500: '#877ae2',
    950: '#000000',
  },
}
SCSS
$custom: #877ae2;
$custom-light: #aea0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#877ae2",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 247.5,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.15207,
    "h": 287
  },
  "luminance": 0.24561
}

Semantic roles & 50–950 ramp

primary
#877AE2
secondary
#E8ECCC
accent
#CC19B6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #877AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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