#877CFF#877CFF

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

Color values

HEX#877CFF
RGBrgb(135, 124, 255)
HSLhsl(245, 100%, 74%)
HSVhsv(245, 51%, 100%)
CMYKcmyk(47.1%, 51.4%, 0%, 0%)
CIE-LABlab(58.77, 36.91, -64.12)
CIE-LCHlch(58.77, 73.98, 299.93°)
OKLaboklab(65.95% 0.0448 -0.1826)
OKLCHoklch(65.95% 0.188 283.8)
XYZxyz(35.2440, 26.7845, 97.9012)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CFF #F4FF7C
analogous
#7CB3FF #877CFF #C97CFF
triadic
#877CFF #FF877C #7CFF87
tetradic
#877CFF #FF7CB3 #F4FF7C #7CFFC9
square
#877CFF #FF7CB3 #F4FF7C #7CFFC9
split-complementary
#877CFF #FFC97C #B3FF7C
monochromatic
#1702FF #4F3FFF #877CFF #BFB9FF #E3E0FF

Accessibility & contrast

On white

3.30
#877CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#877CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CFF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CFF#FFFFFF#000000##000000
##877CFF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B92FF
Deuteranopia (green-blind)
#3489FC
Tritanopia (blue-blind)
#5D98B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877cff;
/* rgb */ color: rgb(135, 124, 255);
/* oklch */ color: oklch(65.9% 0.188 283.8);
Tailwind
colors: {
  custom: {
    50: '#b1a2ff',
    500: '#877cff',
    950: '#000000',
  },
}
SCSS
$custom: #877cff;
$custom-light: #b1a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877cff",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 245.038,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.65946,
    "c": 0.18805,
    "h": 283.8
  },
  "luminance": 0.26786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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