#877DFF#877DFF

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

Color values

HEX#877DFF
RGBrgb(135, 125, 255)
HSLhsl(245, 100%, 75%)
HSVhsv(245, 51%, 100%)
CMYKcmyk(47.1%, 51%, 0%, 0%)
CIE-LABlab(59.01, 36.33, -63.74)
CIE-LCHlch(59.01, 73.37, 299.68°)
OKLaboklab(66.12% 0.0436 -0.1815)
OKLCHoklch(66.12% 0.187 283.5)
XYZxyz(35.3699, 27.0364, 97.9432)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DFF #F5FF7D
analogous
#7DB4FF #877DFF #C87DFF
triadic
#877DFF #FF877D #7DFF87
tetradic
#877DFF #FF7DB4 #F5FF7D #7DFFC8
square
#877DFF #FF7DB4 #F5FF7D #7DFFC8
split-complementary
#877DFF #FFC87D #B4FF7D
monochromatic
#1603FF #4F40FF #877DFF #BFBAFF #E3E0FF

Accessibility & contrast

On white

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

On black

6.41
#877DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DFF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DFF#FFFFFF#000000##000000
##877DFF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#368AFC
Tritanopia (blue-blind)
#5D99B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877dff;
/* rgb */ color: rgb(135, 125, 255);
/* oklch */ color: oklch(66.1% 0.187 283.5);
Tailwind
colors: {
  custom: {
    50: '#b1a3ff',
    500: '#877dff',
    950: '#000000',
  },
}
SCSS
$custom: #877dff;
$custom-light: #b1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#877dff",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 244.615,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.18671,
    "h": 283.5
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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