#877FF7#877FF7

#877FF7 is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.0% C 0.173 H 283.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#877FF7
RGBrgb(135, 127, 247)
HSLhsl(244, 88%, 73%)
HSVhsv(244, 49%, 97%)
CMYKcmyk(45.3%, 48.6%, 0%, 3.1%)
CIE-LABlab(59.01, 32.86, -59.32)
CIE-LCHlch(59.01, 67.81, 298.99°)
OKLaboklab(65.97% 0.0407 -0.1685)
OKLCHoklch(65.97% 0.173 283.6)
XYZxyz(34.3646, 27.0435, 91.3869)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF7 #EFF77F
analogous
#7FB3F7 #877FF7 #C37FF7
triadic
#877FF7 #F7877F #7FF787
tetradic
#877FF7 #F77FB3 #EFF77F #7FF7C3
square
#877FF7 #F77FB3 #EFF77F #7FF7C3
split-complementary
#877FF7 #F7C37F #B3F77F
monochromatic
#1E0FED #5145F3 #877FF7 #BDB9FB #E4E2FD

Accessibility & contrast

On white

3.28
#877FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#877FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF7#FFFFFF#000000##000000
##877FF71.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#458AF4
Tritanopia (blue-blind)
#6298AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ff7;
/* rgb */ color: rgb(135, 127, 247);
/* oklch */ color: oklch(66.0% 0.173 283.6);
Tailwind
colors: {
  custom: {
    50: '#b0a4fa',
    500: '#877ff7',
    950: '#000000',
  },
}
SCSS
$custom: #877ff7;
$custom-light: #b0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff7",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 244,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65975,
    "c": 0.1734,
    "h": 283.6
  },
  "luminance": 0.27045
}

Semantic roles & 50–950 ramp

primary
#877FF7
secondary
#F3F5D6
accent
#E501D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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