#877FF5#877FF5

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

Color values

HEX#877FF5
RGBrgb(135, 127, 245)
HSLhsl(244, 86%, 73%)
HSVhsv(244, 48%, 96%)
CMYKcmyk(44.9%, 48.2%, 0%, 3.9%)
CIE-LABlab(58.90, 32.29, -58.40)
CIE-LCHlch(58.90, 66.73, 298.94°)
OKLaboklab(65.85% 0.0405 -0.1658)
OKLCHoklch(65.85% 0.171 283.7)
XYZxyz(34.0576, 26.9207, 89.7702)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF5 #EDF57F
analogous
#7FB2F5 #877FF5 #C27FF5
triadic
#877FF5 #F5877F #7FF587
tetradic
#877FF5 #F57FB2 #EDF57F #7FF5C2
square
#877FF5 #F57FB2 #EDF57F #7FF5C2
split-complementary
#877FF5 #F5C27F #B2F57F
monochromatic
#2112E8 #5246F1 #877FF5 #BCB8F9 #E4E3FD

Accessibility & contrast

On white

3.29
#877FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#877FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF5#FFFFFF#000000##000000
##877FF51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#478AF2
Tritanopia (blue-blind)
#6398AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ff5;
/* rgb */ color: rgb(135, 127, 245);
/* oklch */ color: oklch(65.9% 0.171 283.7);
Tailwind
colors: {
  custom: {
    50: '#b0a4f9',
    500: '#877ff5',
    950: '#000000',
  },
}
SCSS
$custom: #877ff5;
$custom-light: #b0a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff5",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 244.068,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65853,
    "c": 0.17072,
    "h": 283.7
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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