#877DFE#877DFE

#877DFE is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.1% C 0.185 H 283.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#877DFE
RGBrgb(135, 125, 254)
HSLhsl(245, 98%, 74%)
HSVhsv(245, 51%, 100%)
CMYKcmyk(46.9%, 50.8%, 0%, 0.4%)
CIE-LABlab(58.95, 36.04, -63.29)
CIE-LCHlch(58.95, 72.83, 299.66°)
OKLaboklab(66.06% 0.0436 -0.1802)
OKLCHoklch(66.06% 0.185 283.6)
XYZxyz(35.2094, 26.9722, 97.0976)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DFE #F4FE7D
analogous
#7DB4FE #877DFE #C87DFE
triadic
#877DFE #FE877D #7DFE87
tetradic
#877DFE #FE7DB4 #F4FE7D #7DFEC8
square
#877DFE #FE7DB4 #F4FE7D #7DFEC8
split-complementary
#877DFE #FEC87D #B4FE7D
monochromatic
#1704FD #4F40FE #877DFE #BFBAFE #E3E1FF

Accessibility & contrast

On white

3.28
#877DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#877DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DFE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DFE#FFFFFF#000000##000000
##877DFE1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#388AFB
Tritanopia (blue-blind)
#5E99B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877dfe;
/* rgb */ color: rgb(135, 125, 254);
/* oklch */ color: oklch(66.1% 0.185 283.6);
Tailwind
colors: {
  custom: {
    50: '#b1a3ff',
    500: '#877dfe',
    950: '#000000',
  },
}
SCSS
$custom: #877dfe;
$custom-light: #b1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877dfe",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 244.651,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66057,
    "c": 0.18539,
    "h": 283.6
  },
  "luminance": 0.26974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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