#877FE7#877FE7

#877FE7 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.0% C 0.152 H 284.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#877FE7
RGBrgb(135, 127, 231)
HSLhsl(245, 68%, 70%)
HSVhsv(245, 45%, 91%)
CMYKcmyk(41.6%, 45%, 0%, 9.4%)
CIE-LABlab(58.13, 28.31, -51.86)
CIE-LCHlch(58.13, 59.08, 298.63°)
OKLaboklab(65.02% 0.0389 -0.1467)
OKLCHoklch(65.02% 0.152 284.8)
XYZxyz(32.0007, 26.0979, 78.9371)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE7 #DFE77F
analogous
#7FABE7 #877FE7 #BB7FE7
triadic
#877FE7 #E7877F #7FE787
tetradic
#877FE7 #E77FAB #DFE77F #7FE7BB
square
#877FE7 #E77FAB #DFE77F #7FE7BB
split-complementary
#877FE7 #E7BB7F #ABE77F
monochromatic
#3225C6 #574BDD #877FE7 #B7B3F1 #E7E5FA

Accessibility & contrast

On white

3.38
#877FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#877FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE7#FFFFFF#000000##000000
##877FE71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#6A94A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877fe7;
/* rgb */ color: rgb(135, 127, 231);
/* oklch */ color: oklch(65.0% 0.152 284.8);
Tailwind
colors: {
  custom: {
    50: '#aea4ef',
    500: '#877fe7',
    950: '#000000',
  },
}
SCSS
$custom: #877fe7;
$custom-light: #aea4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe7",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 244.615,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65022,
    "c": 0.15174,
    "h": 284.8
  },
  "luminance": 0.26099
}

Semantic roles & 50–950 ramp

primary
#877FE7
secondary
#EDEFD2
accent
#D015C2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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