#877DF9#877DF9

#877DF9 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.179 H 284.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#877DF9
RGBrgb(135, 125, 249)
HSLhsl(245, 91%, 73%)
HSVhsv(245, 50%, 98%)
CMYKcmyk(45.8%, 49.8%, 0%, 2.4%)
CIE-LABlab(58.65, 34.60, -61.00)
CIE-LCHlch(58.65, 70.13, 299.56°)
OKLaboklab(65.74% 0.0432 -0.1735)
OKLCHoklch(65.74% 0.179 284)
XYZxyz(34.4191, 26.6561, 92.9357)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF9 #EFF97D
analogous
#7DB1F9 #877DF9 #C57DF9
triadic
#877DF9 #F9877D #7DF987
tetradic
#877DF9 #F97DB1 #EFF97D #7DF9C5
square
#877DF9 #F97DB1 #EFF97D #7DF9C5
split-complementary
#877DF9 #F9C57D #B1F97D
monochromatic
#1E0BF0 #5142F6 #877DF9 #BDB7FC #E4E2FE

Accessibility & contrast

On white

3.32
#877DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#877DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF9#FFFFFF#000000##000000
##877DF91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FD
Deuteranopia (green-blind)
#3F89F6
Tritanopia (blue-blind)
#6197AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877df9;
/* rgb */ color: rgb(135, 125, 249);
/* oklch */ color: oklch(65.7% 0.179 284.0);
Tailwind
colors: {
  custom: {
    50: '#b0a2fc',
    500: '#877df9',
    950: '#000000',
  },
}
SCSS
$custom: #877df9;
$custom-light: #b0a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#877df9",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 244.839,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65742,
    "c": 0.17879,
    "h": 284
  },
  "luminance": 0.26658
}

Semantic roles & 50–950 ramp

primary
#877DF9
secondary
#F3F6D5
accent
#E600D3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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