#877DF4#877DF4

#877DF4 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.172 H 284.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#877DF4
RGBrgb(135, 125, 244)
HSLhsl(245, 84%, 72%)
HSVhsv(245, 49%, 96%)
CMYKcmyk(44.7%, 48.8%, 0%, 4.3%)
CIE-LABlab(58.37, 33.17, -58.70)
CIE-LCHlch(58.37, 67.42, 299.47°)
OKLaboklab(65.43% 0.0428 -0.1667)
OKLCHoklch(65.43% 0.172 284.4)
XYZxyz(33.6496, 26.3483, 88.8831)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DF4 #EAF47D
analogous
#7DAFF4 #877DF4 #C37DF4
triadic
#877DF4 #F4877D #7DF487
tetradic
#877DF4 #F47DAF #EAF47D #7DF4C3
square
#877DF4 #F47DAF #EAF47D #7DF4C3
split-complementary
#877DF4 #F4C37D #AFF47D
monochromatic
#2513E3 #5345EF #877DF4 #BBB5F9 #E5E3FD

Accessibility & contrast

On white

3.35
#877DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#877DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DF4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DF4#FFFFFF#000000##000000
##877DF41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F8
Deuteranopia (green-blind)
#4589F1
Tritanopia (blue-blind)
#6496AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877df4;
/* rgb */ color: rgb(135, 125, 244);
/* oklch */ color: oklch(65.4% 0.172 284.4);
Tailwind
colors: {
  custom: {
    50: '#b0a2f8',
    500: '#877df4',
    950: '#000000',
  },
}
SCSS
$custom: #877df4;
$custom-light: #b0a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877df4",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 245.042,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.17213,
    "h": 284.4
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#877DF4
secondary
#F2F5D6
accent
#E105CE
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #877DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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