#877FF0#877FF0

#877FF0 is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.164 H 284.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#877FF0
RGBrgb(135, 127, 240)
HSLhsl(244, 79%, 72%)
HSVhsv(244, 47%, 94%)
CMYKcmyk(43.8%, 47.1%, 0%, 5.9%)
CIE-LABlab(58.62, 30.86, -56.08)
CIE-LCHlch(58.62, 64.01, 298.82°)
OKLaboklab(65.55% 0.04 -0.159)
OKLCHoklch(65.55% 0.164 284.1)
XYZxyz(33.3046, 26.6195, 85.8044)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF0 #E8F07F
analogous
#7FB0F0 #877FF0 #C07FF0
triadic
#877FF0 #F0877F #7FF087
tetradic
#877FF0 #F07FB0 #E8F07F #7FF0C0
square
#877FF0 #F07FB0 #E8F07F #7FF0C0
split-complementary
#877FF0 #F0C07F #B0F07F
monochromatic
#271ADB #5448EA #877FF0 #BAB6F6 #E5E4FC

Accessibility & contrast

On white

3.32
#877FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#877FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF0#FFFFFF#000000##000000
##877FF01.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F4
Deuteranopia (green-blind)
#4C89ED
Tritanopia (blue-blind)
#6696AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ff0;
/* rgb */ color: rgb(135, 127, 240);
/* oklch */ color: oklch(65.6% 0.164 284.1);
Tailwind
colors: {
  custom: {
    50: '#afa4f5',
    500: '#877ff0',
    950: '#000000',
  },
}
SCSS
$custom: #877ff0;
$custom-light: #afa4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff0",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 244.248,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65551,
    "c": 0.16398,
    "h": 284.1
  },
  "luminance": 0.26621
}

Semantic roles & 50–950 ramp

primary
#877FF0
secondary
#F2F4D7
accent
#DB0ACD
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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