#877FE0#877FE0

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

Color values

HEX#877FE0
RGBrgb(135, 127, 224)
HSLhsl(245, 61%, 69%)
HSVhsv(245, 43%, 88%)
CMYKcmyk(39.7%, 43.3%, 0%, 12.2%)
CIE-LABlab(57.76, 26.36, -48.54)
CIE-LCHlch(57.76, 55.23, 298.50°)
OKLaboklab(64.62% 0.0379 -0.1369)
OKLCHoklch(64.62% 0.142 285.5)
XYZxyz(31.0318, 25.7103, 73.8341)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE0 #D8E07F
analogous
#7FA8E0 #877FE0 #B87FE0
triadic
#877FE0 #E0877F #7FE087
tetradic
#877FE0 #E07FA8 #D8E07F #7FE0B8
square
#877FE0 #E07FA8 #D8E07F #7FE0B8
split-complementary
#877FE0 #E0B87F #A8E07F
monochromatic
#382DB8 #594ED4 #877FE0 #B5B0EC #E3E2F8

Accessibility & contrast

On white

3.42
#877FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#877FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE0#FFFFFF#000000##000000
##877FE01.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE4
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#6E92A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877fe0;
/* rgb */ color: rgb(135, 127, 224);
/* oklch */ color: oklch(64.6% 0.142 285.5);
Tailwind
colors: {
  custom: {
    50: '#aea4ea',
    500: '#877fe0',
    950: '#000000',
  },
}
SCSS
$custom: #877fe0;
$custom-light: #aea4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe0",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 244.948,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64622,
    "c": 0.14209,
    "h": 285.5
  },
  "luminance": 0.25711
}

Semantic roles & 50–950 ramp

primary
#877FE0
secondary
#E9ECCF
accent
#C91DBB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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