#877CF1#877CF1

#877CF1 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.170 H 284.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#877CF1
RGBrgb(135, 124, 241)
HSLhsl(246, 81%, 72%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44%, 48.5%, 0%, 5.5%)
CIE-LABlab(57.96, 32.90, -57.69)
CIE-LCHlch(57.96, 66.41, 299.69°)
OKLaboklab(65.07% 0.0437 -0.1638)
OKLCHoklch(65.07% 0.17 284.9)
XYZxyz(33.0719, 25.9157, 86.4617)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF1 #E6F17C
analogous
#7CACF1 #877CF1 #C27CF1
triadic
#877CF1 #F1877C #7CF187
tetradic
#877CF1 #F17CAC #E6F17C #7CF1C2
square
#877CF1 #F17CAC #E6F17C #7CF1C2
split-complementary
#877CF1 #F1C27C #ACF17C
monochromatic
#2A17DB #5445EB #877CF1 #BAB3F7 #E6E3FC

Accessibility & contrast

On white

3.40
#877CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#877CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF1#FFFFFF#000000##000000
##877CF11.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF5
Deuteranopia (green-blind)
#4688EE
Tritanopia (blue-blind)
#6595AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877cf1;
/* rgb */ color: rgb(135, 124, 241);
/* oklch */ color: oklch(65.1% 0.170 284.9);
Tailwind
colors: {
  custom: {
    50: '#afa2f6',
    500: '#877cf1',
    950: '#000000',
  },
}
SCSS
$custom: #877cf1;
$custom-light: #afa2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf1",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 245.641,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.1695,
    "h": 284.9
  },
  "luminance": 0.25917
}

Semantic roles & 50–950 ramp

primary
#877CF1
secondary
#F1F3D5
accent
#DD08C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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