#877AEB#877AEB

#877AEB is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.164 H 286.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#877AEB
RGBrgb(135, 122, 235)
HSLhsl(247, 74%, 70%)
HSVhsv(247, 48%, 92%)
CMYKcmyk(42.6%, 48.1%, 0%, 7.8%)
CIE-LABlab(57.14, 32.37, -55.66)
CIE-LCHlch(57.14, 64.39, 300.18°)
OKLaboklab(64.35% 0.0455 -0.1578)
OKLCHoklch(64.35% 0.164 286.1)
XYZxyz(31.9423, 25.0669, 81.7365)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AEB #DEEB7A
analogous
#7AA5EB #877AEB #C07AEB
triadic
#877AEB #EB877A #7AEB87
tetradic
#877AEB #EB7AA5 #DEEB7A #7AEBC0
square
#877AEB #EB7AA5 #DEEB7A #7AEBC0
split-complementary
#877AEB #EBC07A #A5EB7A
monochromatic
#331FCC #5745E3 #877AEB #B7AFF3 #E7E4FB

Accessibility & contrast

On white

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

On black

6.01
#877AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AEB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AEB#FFFFFF#000000##000000
##877AEB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#6991A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877aeb;
/* rgb */ color: rgb(135, 122, 235);
/* oklch */ color: oklch(64.3% 0.164 286.1);
Tailwind
colors: {
  custom: {
    50: '#afa0f2',
    500: '#877aeb',
    950: '#000000',
  },
}
SCSS
$custom: #877aeb;
$custom-light: #afa0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#877aeb",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 246.903,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.16425,
    "h": 286.1
  },
  "luminance": 0.25068
}

Semantic roles & 50–950 ramp

primary
#877AEB
secondary
#EDF0D1
accent
#D610BF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #877AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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