#877CFC#877CFC

#877CFC is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.184 H 284.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#877CFC
RGBrgb(135, 124, 252)
HSLhsl(245, 96%, 74%)
HSVhsv(245, 51%, 99%)
CMYKcmyk(46.4%, 50.8%, 0%, 1.2%)
CIE-LABlab(58.60, 36.05, -62.75)
CIE-LCHlch(58.60, 72.37, 299.87°)
OKLaboklab(65.76% 0.0446 -0.1786)
OKLCHoklch(65.76% 0.184 284)
XYZxyz(34.7648, 26.5928, 95.3777)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CFC #F1FC7C
analogous
#7CB1FC #877CFC #C77CFC
triadic
#877CFC #FC877C #7CFC87
tetradic
#877CFC #FC7CB1 #F1FC7C #7CFCC7
square
#877CFC #FC7CB1 #F1FC7C #7CFCC7
split-complementary
#877CFC #FCC77C #B1FC7C
monochromatic
#1A06F8 #5040FB #877CFC #BEB8FD #E4E1FE

Accessibility & contrast

On white

3.32
#877CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#877CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CFC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CFC#FFFFFF#000000##000000
##877CFC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#5F98B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877cfc;
/* rgb */ color: rgb(135, 124, 252);
/* oklch */ color: oklch(65.8% 0.184 284.0);
Tailwind
colors: {
  custom: {
    50: '#b0a2fe',
    500: '#877cfc',
    950: '#000000',
  },
}
SCSS
$custom: #877cfc;
$custom-light: #b0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#877cfc",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 245.156,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65755,
    "c": 0.18411,
    "h": 284
  },
  "luminance": 0.26594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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