#877CFD#877CFD

#877CFD is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.8% C 0.185 H 283.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#877CFD
RGBrgb(135, 124, 253)
HSLhsl(245, 97%, 74%)
HSVhsv(245, 51%, 99%)
CMYKcmyk(46.6%, 51%, 0%, 0.8%)
CIE-LABlab(58.65, 36.33, -63.21)
CIE-LCHlch(58.65, 72.90, 299.89°)
OKLaboklab(65.82% 0.0446 -0.18)
OKLCHoklch(65.82% 0.185 283.9)
XYZxyz(34.9237, 26.6564, 96.2145)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CFD #F2FD7C
analogous
#7CB2FD #877CFD #C87CFD
triadic
#877CFD #FD877C #7CFD87
tetradic
#877CFD #FD7CB2 #F2FD7C #7CFDC8
square
#877CFD #FD7CB2 #F2FD7C #7CFDC8
split-complementary
#877CFD #FDC87C #B2FD7C
monochromatic
#1904FB #5040FC #877CFD #BEB8FE #E3E1FF

Accessibility & contrast

On white

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

On black

6.33
#877CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CFD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CFD#FFFFFF#000000##000000
##877CFD1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#3789FA
Tritanopia (blue-blind)
#5E98B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877cfd;
/* rgb */ color: rgb(135, 124, 253);
/* oklch */ color: oklch(65.8% 0.185 283.9);
Tailwind
colors: {
  custom: {
    50: '#b1a2ff',
    500: '#877cfd',
    950: '#000000',
  },
}
SCSS
$custom: #877cfd;
$custom-light: #b1a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877cfd",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 245.116,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65818,
    "c": 0.18542,
    "h": 283.9
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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