#877EF7#877EF7

#877EF7 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.8% C 0.175 H 283.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#877EF7
RGBrgb(135, 126, 247)
HSLhsl(244, 88%, 73%)
HSVhsv(244, 49%, 97%)
CMYKcmyk(45.3%, 49%, 0%, 3.1%)
CIE-LABlab(58.78, 33.45, -59.70)
CIE-LCHlch(58.78, 68.43, 299.26°)
OKLaboklab(65.8% 0.0419 -0.1697)
OKLCHoklch(65.8% 0.175 283.9)
XYZxyz(34.2361, 26.7864, 91.3440)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EF7 #EEF77E
analogous
#7EB1F7 #877EF7 #C37EF7
triadic
#877EF7 #F7877E #7EF787
tetradic
#877EF7 #F77EB1 #EEF77E #7EF7C3
square
#877EF7 #F77EB1 #EEF77E #7EF7C3
split-complementary
#877EF7 #F7C37E #B1F77E
monochromatic
#1F0FEC #5144F3 #877EF7 #BDB8FB #E4E2FD

Accessibility & contrast

On white

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

On black

6.36
#877EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EF7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EF7#FFFFFF#000000##000000
##877EF71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#438AF4
Tritanopia (blue-blind)
#6298AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877ef7;
/* rgb */ color: rgb(135, 126, 247);
/* oklch */ color: oklch(65.8% 0.175 283.9);
Tailwind
colors: {
  custom: {
    50: '#b0a3fa',
    500: '#877ef7',
    950: '#000000',
  },
}
SCSS
$custom: #877ef7;
$custom-light: #b0a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877ef7",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 244.463,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65796,
    "c": 0.17476,
    "h": 283.9
  },
  "luminance": 0.26788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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