#877AE4#877AE4

#877AE4 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.9% C 0.155 H 286.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#877AE4
RGBrgb(135, 122, 228)
HSLhsl(247, 66%, 69%)
HSVhsv(247, 46%, 89%)
CMYKcmyk(40.8%, 46.5%, 0%, 10.6%)
CIE-LABlab(56.75, 30.40, -52.38)
CIE-LCHlch(56.75, 60.56, 300.13°)
OKLaboklab(63.93% 0.0447 -0.1482)
OKLCHoklch(63.93% 0.155 286.8)
XYZxyz(30.9509, 24.6703, 76.5148)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AE4 #D7E47A
analogous
#7AA2E4 #877AE4 #BC7AE4
triadic
#877AE4 #E4877A #7AE487
tetradic
#877AE4 #E47AA2 #D7E47A #7AE4BC
square
#877AE4 #E47AA2 #D7E47A #7AE4BC
split-complementary
#877AE4 #E4BC7A #A2E47A
monochromatic
#3926BD #5947DA #877AE4 #B5ADEE #E3E0F9

Accessibility & contrast

On white

3.54
#877AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#877AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AE4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AE4#FFFFFF#000000##000000
##877AE41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#5085E2
Tritanopia (blue-blind)
#6C8FA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877ae4;
/* rgb */ color: rgb(135, 122, 228);
/* oklch */ color: oklch(63.9% 0.155 286.8);
Tailwind
colors: {
  custom: {
    50: '#aea0ed',
    500: '#877ae4',
    950: '#000000',
  },
}
SCSS
$custom: #877ae4;
$custom-light: #aea0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#877ae4",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 247.358,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63929,
    "c": 0.15479,
    "h": 286.8
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#877AE4
secondary
#E9EDCD
accent
#CE17B8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #877AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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