#877FED#877FED

#877FED is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.160 H 284.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#877FED
RGBrgb(135, 127, 237)
HSLhsl(244, 75%, 71%)
HSVhsv(244, 46%, 93%)
CMYKcmyk(43%, 46.4%, 0%, 7.1%)
CIE-LABlab(58.45, 30.01, -54.68)
CIE-LCHlch(58.45, 62.37, 298.76°)
OKLaboklab(65.37% 0.0397 -0.1549)
OKLCHoklch(65.37% 0.16 284.4)
XYZxyz(32.8627, 26.4427, 83.4768)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FED #E5ED7F
analogous
#7FAEED #877FED #BE7FED
triadic
#877FED #ED877F #7FED87
tetradic
#877FED #ED7FAE #E5ED7F #7FEDBE
square
#877FED #ED7FAE #E5ED7F #7FEDBE
split-complementary
#877FED #EDBE7F #AEED7F
monochromatic
#2B1ED4 #5549E5 #877FED #B9B5F5 #E6E4FB

Accessibility & contrast

On white

3.34
#877FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#877FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FED
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FED#FFFFFF#000000##000000
##877FED1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#4F89EA
Tritanopia (blue-blind)
#6796AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877fed;
/* rgb */ color: rgb(135, 127, 237);
/* oklch */ color: oklch(65.4% 0.160 284.4);
Tailwind
colors: {
  custom: {
    50: '#afa4f3',
    500: '#877fed',
    950: '#000000',
  },
}
SCSS
$custom: #877fed;
$custom-light: #afa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#877fed",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 244.364,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65373,
    "c": 0.15992,
    "h": 284.4
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#877FED
secondary
#F0F2D6
accent
#D80EC9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FED

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

Preview Lab → · Contrast checker → · Palette generator →

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