#877FE5#877FE5

#877FE5 is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.9% C 0.149 H 285.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#877FE5
RGBrgb(135, 127, 229)
HSLhsl(245, 66%, 70%)
HSVhsv(245, 45%, 90%)
CMYKcmyk(41%, 44.5%, 0%, 10.2%)
CIE-LABlab(58.02, 27.75, -50.91)
CIE-LCHlch(58.02, 57.98, 298.59°)
OKLaboklab(64.91% 0.0386 -0.1439)
OKLCHoklch(64.91% 0.149 285)
XYZxyz(31.7199, 25.9856, 77.4580)
Luminance0.2599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE5 #DDE57F
analogous
#7FAAE5 #877FE5 #BA7FE5
triadic
#877FE5 #E5877F #7FE587
tetradic
#877FE5 #E57FAA #DDE57F #7FE5BA
square
#877FE5 #E57FAA #DDE57F #7FE5BA
split-complementary
#877FE5 #E5BA7F #AAE57F
monochromatic
#3427C2 #574CDB #877FE5 #B7B2EF #E6E5FA

Accessibility & contrast

On white

3.39
#877FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#877FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE5#FFFFFF#000000##000000
##877FE51.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE9
Deuteranopia (green-blind)
#5688E3
Tritanopia (blue-blind)
#6B94A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877fe5;
/* rgb */ color: rgb(135, 127, 229);
/* oklch */ color: oklch(64.9% 0.149 285.0);
Tailwind
colors: {
  custom: {
    50: '#aea4ee',
    500: '#877fe5',
    950: '#000000',
  },
}
SCSS
$custom: #877fe5;
$custom-light: #aea4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe5",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 244.706,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64906,
    "c": 0.14899,
    "h": 285
  },
  "luminance": 0.25987
}

Semantic roles & 50–950 ramp

primary
#877FE5
secondary
#ECEED1
accent
#CE17C0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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