#877DF7#877DF7

#877DF7 is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.6% C 0.176 H 284.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#877DF7
RGBrgb(135, 125, 247)
HSLhsl(245, 88%, 73%)
HSVhsv(245, 49%, 97%)
CMYKcmyk(45.3%, 49.4%, 0%, 3.1%)
CIE-LABlab(58.54, 34.03, -60.08)
CIE-LCHlch(58.54, 69.05, 299.52°)
OKLaboklab(65.62% 0.043 -0.1708)
OKLCHoklch(65.62% 0.176 284.1)
XYZxyz(34.1089, 26.5320, 91.3016)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF7 #EDF77D
analogous
#7DB0F7 #877DF7 #C47DF7
triadic
#877DF7 #F7877D #7DF787
tetradic
#877DF7 #F77DB0 #EDF77D #7DF7C4
square
#877DF7 #F77DB0 #EDF77D #7DF7C4
split-complementary
#877DF7 #F7C47D #B0F77D
monochromatic
#210EEB #5243F3 #877DF7 #BCB7FB #E4E2FD

Accessibility & contrast

On white

3.33
#877DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#877DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF7#FFFFFF#000000##000000
##877DF71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#6297AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877df7;
/* rgb */ color: rgb(135, 125, 247);
/* oklch */ color: oklch(65.6% 0.176 284.1);
Tailwind
colors: {
  custom: {
    50: '#b0a2fa',
    500: '#877df7',
    950: '#000000',
  },
}
SCSS
$custom: #877df7;
$custom-light: #b0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877df7",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 244.918,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.17613,
    "h": 284.1
  },
  "luminance": 0.26534
}

Semantic roles & 50–950 ramp

primary
#877DF7
secondary
#F3F5D6
accent
#E500D2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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