#877FE8#877FE8

#877FE8 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.1% C 0.153 H 284.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#877FE8
RGBrgb(135, 127, 232)
HSLhsl(245, 70%, 70%)
HSVhsv(245, 45%, 91%)
CMYKcmyk(41.8%, 45.3%, 0%, 9%)
CIE-LABlab(58.18, 28.59, -52.33)
CIE-LCHlch(58.18, 59.63, 298.65°)
OKLaboklab(65.08% 0.039 -0.148)
OKLCHoklch(65.08% 0.153 284.8)
XYZxyz(32.1423, 26.1546, 79.6830)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE8 #E0E87F
analogous
#7FACE8 #877FE8 #BB7FE8
triadic
#877FE8 #E8877F #7FE887
tetradic
#877FE8 #E87FAC #E0E87F #7FE8BB
square
#877FE8 #E87FAC #E0E87F #7FE8BB
split-complementary
#877FE8 #E8BB7F #ACE87F
monochromatic
#3124C9 #564BDF #877FE8 #B8B3F1 #E7E5FA

Accessibility & contrast

On white

3.37
#877FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#877FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE8#FFFFFF#000000##000000
##877FE81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEC
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#6A94A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877fe8;
/* rgb */ color: rgb(135, 127, 232);
/* oklch */ color: oklch(65.1% 0.153 284.8);
Tailwind
colors: {
  custom: {
    50: '#aea4f0',
    500: '#877fe8',
    950: '#000000',
  },
}
SCSS
$custom: #877fe8;
$custom-light: #aea4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe8",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 244.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.1531,
    "h": 284.8
  },
  "luminance": 0.26156
}

Semantic roles & 50–950 ramp

primary
#877FE8
secondary
#EEF0D3
accent
#D214C3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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