#877AEE#877AEE

#877AEE is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.5% C 0.168 H 285.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#877AEE
RGBrgb(135, 122, 238)
HSLhsl(247, 77%, 71%)
HSVhsv(247, 49%, 93%)
CMYKcmyk(43.3%, 48.7%, 0%, 6.7%)
CIE-LABlab(57.31, 33.21, -57.06)
CIE-LCHlch(57.31, 66.02, 300.20°)
OKLaboklab(64.53% 0.0458 -0.1619)
OKLCHoklch(64.53% 0.168 285.8)
XYZxyz(32.3794, 25.2417, 84.0384)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AEE #E1EE7A
analogous
#7AA7EE #877AEE #C17AEE
triadic
#877AEE #EE877A #7AEE87
tetradic
#877AEE #EE7AA7 #E1EE7A #7AEEC1
square
#877AEE #EE7AA7 #E1EE7A #7AEEC1
split-complementary
#877AEE #EEC17A #A7EE7A
monochromatic
#301BD3 #5644E7 #877AEE #B8B0F5 #E7E4FC

Accessibility & contrast

On white

3.47
#877AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#877AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AEE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AEE#FFFFFF#000000##000000
##877AEE1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#6792A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877aee;
/* rgb */ color: rgb(135, 122, 238);
/* oklch */ color: oklch(64.5% 0.168 285.8);
Tailwind
colors: {
  custom: {
    50: '#afa0f4',
    500: '#877aee',
    950: '#000000',
  },
}
SCSS
$custom: #877aee;
$custom-light: #afa0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#877aee",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 246.724,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.16828,
    "h": 285.8
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#877AEE
secondary
#EEF2D2
accent
#DA0CC3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #877AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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