#877CF0#877CF0

#877CF0 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.168 H 285.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#877CF0
RGBrgb(135, 124, 240)
HSLhsl(246, 79%, 71%)
HSVhsv(246, 48%, 94%)
CMYKcmyk(43.8%, 48.3%, 0%, 5.9%)
CIE-LABlab(57.90, 32.61, -57.23)
CIE-LCHlch(57.90, 65.87, 299.68°)
OKLaboklab(65.01% 0.0436 -0.1624)
OKLCHoklch(65.01% 0.168 285)
XYZxyz(32.9229, 25.8561, 85.6772)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF0 #E5F07C
analogous
#7CABF0 #877CF0 #C17CF0
triadic
#877CF0 #F0877C #7CF087
tetradic
#877CF0 #F07CAB #E5F07C #7CF0C1
square
#877CF0 #F07CAB #E5F07C #7CF0C1
split-complementary
#877CF0 #F0C17C #ABF07C
monochromatic
#2B19D9 #5545EA #877CF0 #B9B3F6 #E6E4FC

Accessibility & contrast

On white

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

On black

6.17
#877CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF0#FFFFFF#000000##000000
##877CF01.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF4
Deuteranopia (green-blind)
#4788ED
Tritanopia (blue-blind)
#6694AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877cf0;
/* rgb */ color: rgb(135, 124, 240);
/* oklch */ color: oklch(65.0% 0.168 285.0);
Tailwind
colors: {
  custom: {
    50: '#afa2f5',
    500: '#877cf0',
    950: '#000000',
  },
}
SCSS
$custom: #877cf0;
$custom-light: #afa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf0",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 245.69,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.16816,
    "h": 285
  },
  "luminance": 0.25857
}

Semantic roles & 50–950 ramp

primary
#877CF0
secondary
#F0F3D5
accent
#DC0AC8
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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