#877AEF#877AEF

#877AEF is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.6% C 0.170 H 285.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#877AEF
RGBrgb(135, 122, 239)
HSLhsl(247, 79%, 71%)
HSVhsv(247, 49%, 94%)
CMYKcmyk(43.5%, 49%, 0%, 6.3%)
CIE-LABlab(57.37, 33.50, -57.53)
CIE-LCHlch(57.37, 66.57, 300.21°)
OKLaboklab(64.59% 0.0459 -0.1633)
OKLCHoklch(64.59% 0.17 285.7)
XYZxyz(32.5267, 25.3006, 84.8143)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AEF #E2EF7A
analogous
#7AA7EF #877AEF #C17AEF
triadic
#877AEF #EF877A #7AEF87
tetradic
#877AEF #EF7AA7 #E2EF7A #7AEFC1
square
#877AEF #EF7AA7 #E2EF7A #7AEFC1
split-complementary
#877AEF #EFC17A #A7EF7A
monochromatic
#2E1AD5 #5643E8 #877AEF #B8B1F6 #E6E4FC

Accessibility & contrast

On white

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

On black

6.06
#877AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AEF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AEF#FFFFFF#000000##000000
##877AEF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#6792A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #877aef;
/* rgb */ color: rgb(135, 122, 239);
/* oklch */ color: oklch(64.6% 0.170 285.7);
Tailwind
colors: {
  custom: {
    50: '#afa0f5',
    500: '#877aef',
    950: '#000000',
  },
}
SCSS
$custom: #877aef;
$custom-light: #afa0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877aef",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 246.667,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6459,
    "c": 0.16961,
    "h": 285.7
  },
  "luminance": 0.25302
}

Semantic roles & 50–950 ramp

primary
#877AEF
secondary
#EFF2D3
accent
#DB0BC4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #877AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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