#877CF7#877CF7

#877CF7 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.4% C 0.177 H 284.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#877CF7
RGBrgb(135, 124, 247)
HSLhsl(245, 88%, 73%)
HSVhsv(245, 50%, 97%)
CMYKcmyk(45.3%, 49.8%, 0%, 3.1%)
CIE-LABlab(58.30, 34.61, -60.46)
CIE-LCHlch(58.30, 69.67, 299.79°)
OKLaboklab(65.44% 0.0442 -0.1719)
OKLCHoklch(65.44% 0.178 284.4)
XYZxyz(33.9829, 26.2801, 91.2596)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF7 #ECF77C
analogous
#7CAEF7 #877CF7 #C57CF7
triadic
#877CF7 #F7877C #7CF787
tetradic
#877CF7 #F77CAE #ECF77C #7CF7C5
square
#877CF7 #F77CAE #ECF77C #7CF7C5
split-complementary
#877CF7 #F7C57C #AEF77C
monochromatic
#220EEA #5242F3 #877CF7 #BCB6FB #E5E2FD

Accessibility & contrast

On white

3.36
#877CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#877CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF7#FFFFFF#000000##000000
##877CF71.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#6296AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877cf7;
/* rgb */ color: rgb(135, 124, 247);
/* oklch */ color: oklch(65.4% 0.177 284.4);
Tailwind
colors: {
  custom: {
    50: '#b0a2fa',
    500: '#877cf7',
    950: '#000000',
  },
}
SCSS
$custom: #877cf7;
$custom-light: #b0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf7",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 245.366,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.1775,
    "h": 284.4
  },
  "luminance": 0.26282
}

Semantic roles & 50–950 ramp

primary
#877CF7
secondary
#F2F5D6
accent
#E500D1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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