#877EE3#877EE3

#877EE3 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.6% C 0.148 H 285.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#877EE3
RGBrgb(135, 126, 227)
HSLhsl(245, 64%, 69%)
HSVhsv(245, 44%, 89%)
CMYKcmyk(40.5%, 44.5%, 0%, 11%)
CIE-LABlab(57.67, 27.78, -50.35)
CIE-LCHlch(57.67, 57.51, 298.88°)
OKLaboklab(64.61% 0.0396 -0.1423)
OKLCHoklch(64.61% 0.148 285.5)
XYZxyz(31.3137, 25.6175, 75.9529)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EE3 #DAE37E
analogous
#7EA8E3 #877EE3 #BA7EE3
triadic
#877EE3 #E3877E #7EE387
tetradic
#877EE3 #E37EA8 #DAE37E #7EE3BA
square
#877EE3 #E37EA8 #DAE37E #7EE3BA
split-complementary
#877EE3 #E3BA7E #A8E37E
monochromatic
#3629BD #584CD8 #877EE3 #B6B0EE #E5E3F9

Accessibility & contrast

On white

3.43
#877EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#877EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EE3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EE3#FFFFFF#000000##000000
##877EE31.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#598DE7
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#6C92A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877ee3;
/* rgb */ color: rgb(135, 126, 227);
/* oklch */ color: oklch(64.6% 0.148 285.5);
Tailwind
colors: {
  custom: {
    50: '#aea3ec',
    500: '#877ee3',
    950: '#000000',
  },
}
SCSS
$custom: #877ee3;
$custom-light: #aea3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#877ee3",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 245.347,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.14767,
    "h": 285.5
  },
  "luminance": 0.25619
}

Semantic roles & 50–950 ramp

primary
#877EE3
secondary
#EAEDD0
accent
#CC19BC
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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