#877DFB#877DFB

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

Color values

HEX#877DFB
RGBrgb(135, 125, 251)
HSLhsl(245, 94%, 74%)
HSVhsv(245, 50%, 98%)
CMYKcmyk(46.2%, 50.2%, 0%, 1.6%)
CIE-LABlab(58.77, 35.18, -61.92)
CIE-LCHlch(58.77, 71.21, 299.60°)
OKLaboklab(65.87% 0.0434 -0.1762)
OKLCHoklch(65.87% 0.181 283.8)
XYZxyz(34.7327, 26.7815, 94.5873)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DFB #F1FB7D
analogous
#7DB2FB #877DFB #C67DFB
triadic
#877DFB #FB877D #7DFB87
tetradic
#877DFB #FB7DB2 #F1FB7D #7DFBC6
square
#877DFB #FB7DB2 #F1FB7D #7DFBC6
split-complementary
#877DFB #FBC67D #B2FB7D
monochromatic
#1A08F6 #5042F9 #877DFB #BEB8FD #E4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877DFB#FFFFFF#000000##000000
##877DFB1.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)
#4291FF
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#6098B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877dfb;
/* rgb */ color: rgb(135, 125, 251);
/* oklch */ color: oklch(65.9% 0.181 283.8);
Tailwind
colors: {
  custom: {
    50: '#b0a3fd',
    500: '#877dfb',
    950: '#000000',
  },
}
SCSS
$custom: #877dfb;
$custom-light: #b0a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877dfb",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 244.762,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65867,
    "c": 0.18143,
    "h": 283.8
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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