#877CF8#877CF8

#877CF8 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.5% C 0.179 H 284.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#877CF8
RGBrgb(135, 124, 248)
HSLhsl(245, 90%, 73%)
HSVhsv(245, 50%, 97%)
CMYKcmyk(45.6%, 50%, 0%, 2.7%)
CIE-LABlab(58.36, 34.90, -60.92)
CIE-LCHlch(58.36, 70.21, 299.80°)
OKLaboklab(65.5% 0.0443 -0.1733)
OKLCHoklch(65.5% 0.179 284.3)
XYZxyz(34.1376, 26.3420, 92.0745)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF8 #EDF87C
analogous
#7CAFF8 #877CF8 #C57CF8
triadic
#877CF8 #F8877C #7CF887
tetradic
#877CF8 #F87CAF #EDF87C #7CF8C5
square
#877CF8 #F87CAF #EDF87C #7CF8C5
split-complementary
#877CF8 #F8C57C #AFF87C
monochromatic
#210DED #5242F5 #877CF8 #BCB6FB #E4E2FD

Accessibility & contrast

On white

3.35
#877CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#877CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF8#FFFFFF#000000##000000
##877CF81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#3E88F5
Tritanopia (blue-blind)
#6296AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877cf8;
/* rgb */ color: rgb(135, 124, 248);
/* oklch */ color: oklch(65.5% 0.179 284.3);
Tailwind
colors: {
  custom: {
    50: '#b0a2fb',
    500: '#877cf8',
    950: '#000000',
  },
}
SCSS
$custom: #877cf8;
$custom-light: #b0a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf8",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 245.323,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.17883,
    "h": 284.3
  },
  "luminance": 0.26344
}

Semantic roles & 50–950 ramp

primary
#877CF8
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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