#877FE2#877FE2

#877FE2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.7% C 0.145 H 285.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#877FE2
RGBrgb(135, 127, 226)
HSLhsl(245, 63%, 69%)
HSVhsv(245, 44%, 89%)
CMYKcmyk(40.3%, 43.8%, 0%, 11.4%)
CIE-LABlab(57.87, 26.91, -49.49)
CIE-LCHlch(57.87, 56.33, 298.54°)
OKLaboklab(64.74% 0.0382 -0.1397)
OKLCHoklch(64.74% 0.145 285.3)
XYZxyz(31.3046, 25.8195, 75.2710)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FE2 #DAE27F
analogous
#7FA9E2 #877FE2 #B87FE2
triadic
#877FE2 #E2877F #7FE287
tetradic
#877FE2 #E27FA9 #DAE27F #7FE2B8
square
#877FE2 #E27FA9 #DAE27F #7FE2B8
split-complementary
#877FE2 #E2B87F #A9E27F
monochromatic
#362BBC #584DD7 #877FE2 #B6B1ED #E5E3F9

Accessibility & contrast

On white

3.41
#877FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#877FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FE2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FE2#FFFFFF#000000##000000
##877FE21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#5888E0
Tritanopia (blue-blind)
#6D93A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877fe2;
/* rgb */ color: rgb(135, 127, 226);
/* oklch */ color: oklch(64.7% 0.145 285.3);
Tailwind
colors: {
  custom: {
    50: '#aea4eb',
    500: '#877fe2',
    950: '#000000',
  },
}
SCSS
$custom: #877fe2;
$custom-light: #aea4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#877fe2",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 244.848,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64735,
    "c": 0.14485,
    "h": 285.3
  },
  "luminance": 0.25821
}

Semantic roles & 50–950 ramp

primary
#877FE2
secondary
#EAEDD0
accent
#CB1BBD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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