#877FFB#877FFB

#877FFB is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.2% C 0.179 H 283.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#877FFB
RGBrgb(135, 127, 251)
HSLhsl(244, 94%, 74%)
HSVhsv(244, 49%, 98%)
CMYKcmyk(46.2%, 49.4%, 0%, 1.6%)
CIE-LABlab(59.24, 34.01, -61.16)
CIE-LCHlch(59.24, 69.98, 299.08°)
OKLaboklab(66.22% 0.0411 -0.1739)
OKLCHoklch(66.22% 0.179 283.3)
XYZxyz(34.9885, 27.2930, 94.6726)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FFB #F3FB7F
analogous
#7FB5FB #877FFB #C57FFB
triadic
#877FFB #FB877F #7FFB87
tetradic
#877FFB #FB7FB5 #F3FB7F #7FFBC5
square
#877FFB #FB7FB5 #F3FB7F #7FFBC5
split-complementary
#877FFB #FBC57F #B5FB7F
monochromatic
#1808F7 #4F44F9 #877FFB #BFBAFD #E3E1FE

Accessibility & contrast

On white

3.25
#877FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#877FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FFB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FFB#FFFFFF#000000##000000
##877FFB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#408BF8
Tritanopia (blue-blind)
#5F9AB1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #877ffb;
/* rgb */ color: rgb(135, 127, 251);
/* oklch */ color: oklch(66.2% 0.179 283.3);
Tailwind
colors: {
  custom: {
    50: '#b0a4fd',
    500: '#877ffb',
    950: '#000000',
  },
}
SCSS
$custom: #877ffb;
$custom-light: #b0a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877ffb",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 243.871,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66222,
    "c": 0.17872,
    "h": 283.3
  },
  "luminance": 0.27295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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