#877CFB#877CFB

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

Color values

HEX#877CFB
RGBrgb(135, 124, 251)
HSLhsl(245, 94%, 74%)
HSVhsv(245, 51%, 98%)
CMYKcmyk(46.2%, 50.6%, 0%, 1.6%)
CIE-LABlab(58.54, 35.76, -62.29)
CIE-LCHlch(58.54, 71.83, 299.86°)
OKLaboklab(65.69% 0.0445 -0.1773)
OKLCHoklch(65.69% 0.183 284.1)
XYZxyz(34.6068, 26.5296, 94.5453)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CFB #F0FB7C
analogous
#7CB0FB #877CFB #C67CFB
triadic
#877CFB #FB877C #7CFB87
tetradic
#877CFB #FB7CB0 #F0FB7C #7CFBC6
square
#877CFB #FB7CB0 #F0FB7C #7CFBC6
split-complementary
#877CFB #FBC67C #B0FB7C
monochromatic
#1C07F5 #5141F9 #877CFB #BDB7FD #E4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CFB#FFFFFF#000000##000000
##877CFB1.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)
#4091FF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#6097B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #877cfb;
/* rgb */ color: rgb(135, 124, 251);
/* oklch */ color: oklch(65.7% 0.183 284.1);
Tailwind
colors: {
  custom: {
    50: '#b0a2fd',
    500: '#877cfb',
    950: '#000000',
  },
}
SCSS
$custom: #877cfb;
$custom-light: #b0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#877cfb",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 245.197,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.18279,
    "h": 284.1
  },
  "luminance": 0.26531
}

Semantic roles & 50–950 ramp

primary
#877CFB
secondary
#F3F6D5
accent
#E600D2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #877CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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