#877AE3#877AE3

#877AE3 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.153 H 286.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#877AE3
RGBrgb(135, 122, 227)
HSLhsl(247, 65%, 68%)
HSVhsv(247, 46%, 89%)
CMYKcmyk(40.5%, 46.3%, 0%, 11%)
CIE-LABlab(56.70, 30.12, -51.90)
CIE-LCHlch(56.70, 60.01, 300.13°)
OKLaboklab(63.87% 0.0446 -0.1468)
OKLCHoklch(63.87% 0.153 286.9)
XYZxyz(30.8124, 24.6149, 75.7858)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AE3 #D6E37A
analogous
#7AA1E3 #877AE3 #BB7AE3
triadic
#877AE3 #E3877A #7AE387
tetradic
#877AE3 #E37AA1 #D6E37A #7AE3BB
square
#877AE3 #E37AA1 #D6E37A #7AE3BB
split-complementary
#877AE3 #E3BB7A #A1E37A
monochromatic
#3A27BB #5947D8 #877AE3 #B5ADEE #E2DFF8

Accessibility & contrast

On white

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

On black

5.92
#877AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AE3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AE3#FFFFFF#000000##000000
##877AE31.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE7
Deuteranopia (green-blind)
#5185E1
Tritanopia (blue-blind)
#6D8FA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #877ae3;
/* rgb */ color: rgb(135, 122, 227);
/* oklch */ color: oklch(63.9% 0.153 286.9);
Tailwind
colors: {
  custom: {
    50: '#aea0ec',
    500: '#877ae3',
    950: '#000000',
  },
}
SCSS
$custom: #877ae3;
$custom-light: #aea0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#877ae3",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 247.429,
    "s": 65.217,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63871,
    "c": 0.15343,
    "h": 286.9
  },
  "luminance": 0.24616
}

Semantic roles & 50–950 ramp

primary
#877AE3
secondary
#E8ECCD
accent
#CD18B7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #877AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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