#877CFE#877CFE

#877CFE is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.9% C 0.187 H 283.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#877CFE
RGBrgb(135, 124, 254)
HSLhsl(245, 98%, 74%)
HSVhsv(245, 51%, 100%)
CMYKcmyk(46.9%, 51.2%, 0%, 0.4%)
CIE-LABlab(58.71, 36.62, -63.66)
CIE-LCHlch(58.71, 73.44, 299.91°)
OKLaboklab(65.88% 0.0447 -0.1813)
OKLCHoklch(65.88% 0.187 283.8)
XYZxyz(35.0834, 26.7203, 97.0557)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CFE #F3FE7C
analogous
#7CB2FE #877CFE #C87CFE
triadic
#877CFE #FE877C #7CFE87
tetradic
#877CFE #FE7CB2 #F3FE7C #7CFEC8
square
#877CFE #FE7CB2 #F3FE7C #7CFEC8
split-complementary
#877CFE #FEC87C #B2FE7C
monochromatic
#1803FD #4F3FFE #877CFE #BFB9FE #E3E1FF

Accessibility & contrast

On white

3.31
#877CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#877CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CFE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CFE#FFFFFF#000000##000000
##877CFE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#5E98B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877cfe;
/* rgb */ color: rgb(135, 124, 254);
/* oklch */ color: oklch(65.9% 0.187 283.8);
Tailwind
colors: {
  custom: {
    50: '#b1a2ff',
    500: '#877cfe',
    950: '#000000',
  },
}
SCSS
$custom: #877cfe;
$custom-light: #b1a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877cfe",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 245.077,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.18673,
    "h": 283.8
  },
  "luminance": 0.26722
}

Semantic roles & 50–950 ramp

primary
#877CFE
secondary
#F4F7D4
accent
#E600D2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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