#877DFC#877DFC

#877DFC is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.9% C 0.183 H 283.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#877DFC
RGBrgb(135, 125, 252)
HSLhsl(245, 95%, 74%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(46.4%, 50.4%, 0%, 1.2%)
CIE-LABlab(58.83, 35.46, -62.37)
CIE-LCHlch(58.83, 71.75, 299.62°)
OKLaboklab(65.93% 0.0434 -0.1775)
OKLCHoklch(65.93% 0.183 283.7)
XYZxyz(34.8908, 26.8448, 95.4197)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DFC #F2FC7D
analogous
#7DB3FC #877DFC #C77DFC
triadic
#877DFC #FC877D #7DFC87
tetradic
#877DFC #FC7DB3 #F2FC7D #7DFCC7
square
#877DFC #FC7DB3 #F2FC7D #7DFCC7
split-complementary
#877DFC #FCC77D #B3FC7D
monochromatic
#1906F9 #5041FB #877DFC #BEB9FD #E3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877DFC#FFFFFF#000000##000000
##877DFC1.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)
#4192FF
Deuteranopia (green-blind)
#3B89F9
Tritanopia (blue-blind)
#5F98B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #877dfc;
/* rgb */ color: rgb(135, 125, 252);
/* oklch */ color: oklch(65.9% 0.183 283.7);
Tailwind
colors: {
  custom: {
    50: '#b0a3fe',
    500: '#877dfc',
    950: '#000000',
  },
}
SCSS
$custom: #877dfc;
$custom-light: #b0a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#877dfc",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 244.724,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6593,
    "c": 0.18275,
    "h": 283.7
  },
  "luminance": 0.26846
}

Semantic roles & 50–950 ramp

primary
#877DFC
secondary
#F4F7D4
accent
#E600D3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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