#877EE8#877EE8

#877EE8 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.9% C 0.155 H 285.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#877EE8
RGBrgb(135, 126, 232)
HSLhsl(245, 70%, 70%)
HSVhsv(245, 46%, 91%)
CMYKcmyk(41.8%, 45.7%, 0%, 9%)
CIE-LABlab(57.94, 29.18, -52.72)
CIE-LCHlch(57.94, 60.25, 298.96°)
OKLaboklab(64.9% 0.0403 -0.1492)
OKLCHoklch(64.9% 0.155 285.1)
XYZxyz(32.0138, 25.8976, 79.6402)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE8 #DFE87E
analogous
#7EAAE8 #877EE8 #BC7EE8
triadic
#877EE8 #E8877E #7EE887
tetradic
#877EE8 #E87EAA #DFE87E #7EE8BC
square
#877EE8 #E87EAA #DFE87E #7EE8BC
split-complementary
#877EE8 #E8BC7E #AAE87E
monochromatic
#3224C8 #574ADF #877EE8 #B7B2F1 #E7E5FA

Accessibility & contrast

On white

3.40
#877EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#877EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE8#FFFFFF#000000##000000
##877EE81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEC
Deuteranopia (green-blind)
#5288E6
Tritanopia (blue-blind)
#6A94A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877ee8;
/* rgb */ color: rgb(135, 126, 232);
/* oklch */ color: oklch(64.9% 0.155 285.1);
Tailwind
colors: {
  custom: {
    50: '#aea3f0',
    500: '#877ee8',
    950: '#000000',
  },
}
SCSS
$custom: #877ee8;
$custom-light: #aea3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee8",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 245.094,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64895,
    "c": 0.15452,
    "h": 285.1
  },
  "luminance": 0.25899
}

Semantic roles & 50–950 ramp

primary
#877EE8
secondary
#EDF0D2
accent
#D214C2
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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