#877FF8#877FF8

#877FF8 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.0% C 0.175 H 283.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#877FF8
RGBrgb(135, 127, 248)
HSLhsl(244, 90%, 74%)
HSVhsv(244, 49%, 97%)
CMYKcmyk(45.6%, 48.8%, 0%, 2.7%)
CIE-LABlab(59.07, 33.15, -59.78)
CIE-LCHlch(59.07, 68.36, 299.01°)
OKLaboklab(66.04% 0.0408 -0.1699)
OKLCHoklch(66.04% 0.175 283.5)
XYZxyz(34.5193, 27.1054, 92.2017)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF8 #F0F87F
analogous
#7FB3F8 #877FF8 #C37FF8
triadic
#877FF8 #F8877F #7FF887
tetradic
#877FF8 #F87FB3 #F0F87F #7FF8C3
square
#877FF8 #F87FB3 #F0F87F #7FF8C3
split-complementary
#877FF8 #F8C37F #B3F87F
monochromatic
#1C0DF0 #5145F5 #877FF8 #BDB9FB #E4E2FD

Accessibility & contrast

On white

3.27
#877FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#877FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF8#FFFFFF#000000##000000
##877FF81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FC
Deuteranopia (green-blind)
#448AF5
Tritanopia (blue-blind)
#6199B0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ff8;
/* rgb */ color: rgb(135, 127, 248);
/* oklch */ color: oklch(66.0% 0.175 283.5);
Tailwind
colors: {
  custom: {
    50: '#b0a4fb',
    500: '#877ff8',
    950: '#000000',
  },
}
SCSS
$custom: #877ff8;
$custom-light: #b0a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff8",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 243.967,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.17473,
    "h": 283.5
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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