#877FF4#877FF4

#877FF4 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.8% C 0.169 H 283.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#877FF4
RGBrgb(135, 127, 244)
HSLhsl(244, 84%, 73%)
HSVhsv(244, 48%, 96%)
CMYKcmyk(44.7%, 48%, 0%, 4.3%)
CIE-LABlab(58.84, 32.00, -57.94)
CIE-LCHlch(58.84, 66.19, 298.92°)
OKLaboklab(65.79% 0.0404 -0.1645)
OKLCHoklch(65.79% 0.169 283.8)
XYZxyz(33.9054, 26.8598, 88.9684)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FF4 #ECF47F
analogous
#7FB1F4 #877FF4 #C27FF4
triadic
#877FF4 #F4877F #7FF487
tetradic
#877FF4 #F47FB1 #ECF47F #7FF4C2
square
#877FF4 #F47FB1 #ECF47F #7FF4C2
split-complementary
#877FF4 #F4C27F #B1F47F
monochromatic
#2214E5 #5247EF #877FF4 #BCB7F9 #E5E3FD

Accessibility & contrast

On white

3.30
#877FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#877FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FF4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FF4#FFFFFF#000000##000000
##877FF41.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D91F8
Deuteranopia (green-blind)
#488AF1
Tritanopia (blue-blind)
#6498AE
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877ff4;
/* rgb */ color: rgb(135, 127, 244);
/* oklch */ color: oklch(65.8% 0.169 283.8);
Tailwind
colors: {
  custom: {
    50: '#afa4f8',
    500: '#877ff4',
    950: '#000000',
  },
}
SCSS
$custom: #877ff4;
$custom-light: #afa4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877ff4",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 244.103,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.16937,
    "h": 283.8
  },
  "luminance": 0.26861
}

Semantic roles & 50–950 ramp

primary
#877FF4
secondary
#F2F5D6
accent
#E105D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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