#877FF1#877FF1

#877FF1 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.6% C 0.165 H 284.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#877FF1
RGBrgb(135, 127, 241)
HSLhsl(244, 80%, 72%)
HSVhsv(244, 47%, 95%)
CMYKcmyk(44%, 47.3%, 0%, 5.5%)
CIE-LABlab(58.68, 31.14, -56.54)
CIE-LCHlch(58.68, 64.55, 298.85°)
OKLaboklab(65.61% 0.0401 -0.1604)
OKLCHoklch(65.61% 0.165 284)
XYZxyz(33.4536, 26.6791, 86.5889)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF1 #E9F17F
analogous
#7FB0F1 #877FF1 #C07FF1
triadic
#877FF1 #F1877F #7FF187
tetradic
#877FF1 #F17FB0 #E9F17F #7FF1C0
square
#877FF1 #F17FB0 #E9F17F #7FF1C0
split-complementary
#877FF1 #F1C07F #B0F17F
monochromatic
#2618DD #5348EB #877FF1 #BBB6F7 #E5E3FC

Accessibility & contrast

On white

3.31
#877FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#877FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF1#FFFFFF#000000##000000
##877FF11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F5
Deuteranopia (green-blind)
#4B8AEE
Tritanopia (blue-blind)
#6597AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ff1;
/* rgb */ color: rgb(135, 127, 241);
/* oklch */ color: oklch(65.6% 0.165 284.0);
Tailwind
colors: {
  custom: {
    50: '#afa4f6',
    500: '#877ff1',
    950: '#000000',
  },
}
SCSS
$custom: #877ff1;
$custom-light: #afa4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff1",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 244.211,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.65611,
    "c": 0.16534,
    "h": 284
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

primary
#877FF1
secondary
#F2F4D7
accent
#DD09CE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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