#877CF3#877CF3

#877CF3 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.2% C 0.172 H 284.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#877CF3
RGBrgb(135, 124, 243)
HSLhsl(246, 83%, 72%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44.4%, 49%, 0%, 4.7%)
CIE-LABlab(58.07, 33.47, -58.62)
CIE-LCHlch(58.07, 67.50, 299.72°)
OKLaboklab(65.19% 0.0439 -0.1665)
OKLCHoklch(65.19% 0.172 284.8)
XYZxyz(33.3723, 26.0358, 88.0437)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF3 #E8F37C
analogous
#7CADF3 #877CF3 #C37CF3
triadic
#877CF3 #F3877C #7CF387
tetradic
#877CF3 #F37CAD #E8F37C #7CF3C3
square
#877CF3 #F37CAD #E8F37C #7CF3C3
split-complementary
#877CF3 #F3C37C #ADF37C
monochromatic
#2715E0 #5444EE #877CF3 #BAB4F8 #E5E3FC

Accessibility & contrast

On white

3.38
#877CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#877CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF3#FFFFFF#000000##000000
##877CF31.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#6495AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877cf3;
/* rgb */ color: rgb(135, 124, 243);
/* oklch */ color: oklch(65.2% 0.172 284.8);
Tailwind
colors: {
  custom: {
    50: '#b0a2f8',
    500: '#877cf3',
    950: '#000000',
  },
}
SCSS
$custom: #877cf3;
$custom-light: #b0a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf3",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 245.546,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65192,
    "c": 0.17218,
    "h": 284.8
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#877CF3
secondary
#F2F4D6
accent
#E006CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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