#877FE4#877FE4

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

Color values

HEX#877FE4
RGBrgb(135, 127, 228)
HSLhsl(245, 65%, 70%)
HSVhsv(245, 44%, 89%)
CMYKcmyk(40.8%, 44.3%, 0%, 10.6%)
CIE-LABlab(57.97, 27.47, -50.44)
CIE-LCHlch(57.97, 57.43, 298.57°)
OKLaboklab(64.85% 0.0385 -0.1425)
OKLCHoklch(64.85% 0.148 285.1)
XYZxyz(31.5806, 25.9299, 76.7247)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE4 #DCE47F
analogous
#7FAAE4 #877FE4 #B97FE4
triadic
#877FE4 #E4877F #7FE487
tetradic
#877FE4 #E47FAA #DCE47F #7FE4B9
square
#877FE4 #E47FAA #DCE47F #7FE4B9
split-complementary
#877FE4 #E4B97F #AAE47F
monochromatic
#3529C0 #584CD9 #877FE4 #B6B2EF #E6E4F9

Accessibility & contrast

On white

3.39
#877FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#877FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE4#FFFFFF#000000##000000
##877FE41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE8
Deuteranopia (green-blind)
#5788E2
Tritanopia (blue-blind)
#6C93A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877fe4;
/* rgb */ color: rgb(135, 127, 228);
/* oklch */ color: oklch(64.8% 0.148 285.1);
Tailwind
colors: {
  custom: {
    50: '#aea4ed',
    500: '#877fe4',
    950: '#000000',
  },
}
SCSS
$custom: #877fe4;
$custom-light: #aea4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe4",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 244.752,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64849,
    "c": 0.14761,
    "h": 285.1
  },
  "luminance": 0.25931
}

Semantic roles & 50–950 ramp

primary
#877FE4
secondary
#ECEED1
accent
#CD19BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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