#877FFA#877FFA

#877FFA is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.2% C 0.177 H 283.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#877FFA
RGBrgb(135, 127, 250)
HSLhsl(244, 92%, 74%)
HSVhsv(244, 49%, 98%)
CMYKcmyk(46%, 49.2%, 0%, 2%)
CIE-LABlab(59.19, 33.72, -60.70)
CIE-LCHlch(59.19, 69.44, 299.06°)
OKLaboklab(66.16% 0.041 -0.1726)
OKLCHoklch(66.16% 0.177 283.4)
XYZxyz(34.8312, 27.2301, 93.8446)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FFA #F2FA7F
analogous
#7FB5FA #877FFA #C57FFA
triadic
#877FFA #FA877F #7FFA87
tetradic
#877FFA #FA7FB5 #F2FA7F #7FFAC5
square
#877FFA #FA7FB5 #F2FA7F #7FFAC5
split-complementary
#877FFA #FAC57F #B5FA7F
monochromatic
#190AF5 #5044F8 #877FFA #BEBAFC #E3E2FE

Accessibility & contrast

On white

3.26
#877FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#877FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FFA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FFA#FFFFFF#000000##000000
##877FFA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FE
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#6099B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ffa;
/* rgb */ color: rgb(135, 127, 250);
/* oklch */ color: oklch(66.2% 0.177 283.4);
Tailwind
colors: {
  custom: {
    50: '#b0a4fd',
    500: '#877ffa',
    950: '#000000',
  },
}
SCSS
$custom: #877ffa;
$custom-light: #b0a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877ffa",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 243.902,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6616,
    "c": 0.1774,
    "h": 283.4
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#877FFA
secondary
#F4F6D5
accent
#E600D7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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