#877AEC#877AEC

#877AEC is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.166 H 286.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#877AEC
RGBrgb(135, 122, 236)
HSLhsl(247, 75%, 70%)
HSVhsv(247, 48%, 93%)
CMYKcmyk(42.8%, 48.3%, 0%, 7.5%)
CIE-LABlab(57.20, 32.65, -56.13)
CIE-LCHlch(57.20, 64.93, 300.18°)
OKLaboklab(64.41% 0.0456 -0.1592)
OKLCHoklch(64.41% 0.166 286)
XYZxyz(32.0872, 25.1248, 82.4995)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AEC #DFEC7A
analogous
#7AA6EC #877AEC #C07AEC
triadic
#877AEC #EC877A #7AEC87
tetradic
#877AEC #EC7AA6 #DFEC7A #7AECC0
square
#877AEC #EC7AA6 #DFEC7A #7AECC0
split-complementary
#877AEC #ECC07A #A6EC7A
monochromatic
#321DCE #5744E4 #877AEC #B7B0F4 #E7E4FB

Accessibility & contrast

On white

3.49
#877AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#877AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AEC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AEC#FFFFFF#000000##000000
##877AEC1.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CF0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#6892A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877aec;
/* rgb */ color: rgb(135, 122, 236);
/* oklch */ color: oklch(64.4% 0.166 286.0);
Tailwind
colors: {
  custom: {
    50: '#afa0f3',
    500: '#877aec',
    950: '#000000',
  },
}
SCSS
$custom: #877aec;
$custom-light: #afa0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877aec",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 246.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.16559,
    "h": 286
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#877AEC
secondary
#EDF1D1
accent
#D70EC0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #877AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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