#877FFD#877FFD

#877FFD is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.181 H 283.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#877FFD
RGBrgb(135, 127, 253)
HSLhsl(244, 97%, 75%)
HSVhsv(244, 50%, 99%)
CMYKcmyk(46.6%, 49.8%, 0%, 0.8%)
CIE-LABlab(59.36, 34.59, -62.07)
CIE-LCHlch(59.36, 71.06, 299.13°)
OKLaboklab(66.35% 0.0412 -0.1766)
OKLCHoklch(66.35% 0.181 283.1)
XYZxyz(35.3054, 27.4198, 96.3417)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FFD #F5FD7F
analogous
#7FB6FD #877FFD #C67FFD
triadic
#877FFD #FD877F #7FFD87
tetradic
#877FFD #FD7FB6 #F5FD7F #7FFDC6
square
#877FFD #FD7FB6 #F5FD7F #7FFDC6
split-complementary
#877FFD #FDC67F #B6FD7F
monochromatic
#1606FB #4F43FC #877FFD #BFBBFE #E3E1FF

Accessibility & contrast

On white

3.24
#877FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#877FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FFD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FFD#FFFFFF#000000##000000
##877FFD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#5E9AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #877ffd;
/* rgb */ color: rgb(135, 127, 253);
/* oklch */ color: oklch(66.3% 0.181 283.1);
Tailwind
colors: {
  custom: {
    50: '#b0a4ff',
    500: '#877ffd',
    950: '#000000',
  },
}
SCSS
$custom: #877ffd;
$custom-light: #b0a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877ffd",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 243.81,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66347,
    "c": 0.18138,
    "h": 283.1
  },
  "luminance": 0.27421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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