#877FF6#877FF6

#877FF6 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.9% C 0.172 H 283.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#877FF6
RGBrgb(135, 127, 246)
HSLhsl(244, 87%, 73%)
HSVhsv(244, 48%, 96%)
CMYKcmyk(45.1%, 48.4%, 0%, 3.5%)
CIE-LABlab(58.96, 32.57, -58.86)
CIE-LCHlch(58.96, 67.27, 298.96°)
OKLaboklab(65.91% 0.0406 -0.1672)
OKLCHoklch(65.91% 0.172 283.7)
XYZxyz(34.2107, 26.9819, 90.5763)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF6 #EEF67F
analogous
#7FB2F6 #877FF6 #C37FF6
triadic
#877FF6 #F6877F #7FF687
tetradic
#877FF6 #F67FB2 #EEF67F #7FF6C3
square
#877FF6 #F67FB2 #EEF67F #7FF6C3
split-complementary
#877FF6 #F6C37F #B2F67F
monochromatic
#1F10EA #5146F2 #877FF6 #BDB8FA #E4E2FD

Accessibility & contrast

On white

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

On black

6.40
#877FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF6#FFFFFF#000000##000000
##877FF61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FA
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#6298AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ff6;
/* rgb */ color: rgb(135, 127, 246);
/* oklch */ color: oklch(65.9% 0.172 283.7);
Tailwind
colors: {
  custom: {
    50: '#b0a4fa',
    500: '#877ff6',
    950: '#000000',
  },
}
SCSS
$custom: #877ff6;
$custom-light: #b0a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff6",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 244.034,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65914,
    "c": 0.17205,
    "h": 283.7
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#877FF6
secondary
#F3F5D6
accent
#E302D4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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