#877CF6#877CF6

#877CF6 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.4% C 0.176 H 284.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#877CF6
RGBrgb(135, 124, 246)
HSLhsl(245, 87%, 73%)
HSVhsv(245, 50%, 96%)
CMYKcmyk(45.1%, 49.6%, 0%, 3.5%)
CIE-LABlab(58.24, 34.32, -60.00)
CIE-LCHlch(58.24, 69.13, 299.77°)
OKLaboklab(65.38% 0.0441 -0.1706)
OKLCHoklch(65.38% 0.176 284.5)
XYZxyz(33.8290, 26.2185, 90.4491)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF6 #EBF67C
analogous
#7CAEF6 #877CF6 #C47CF6
triadic
#877CF6 #F6877C #7CF687
tetradic
#877CF6 #F67CAE #EBF67C #7CF6C4
square
#877CF6 #F67CAE #EBF67C #7CF6C4
split-complementary
#877CF6 #F6C47C #AEF67C
monochromatic
#2310E8 #5343F2 #877CF6 #BBB5FA #E5E2FD

Accessibility & contrast

On white

3.36
#877CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#877CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF6#FFFFFF#000000##000000
##877CF61.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FA
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#6396AD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #877cf6;
/* rgb */ color: rgb(135, 124, 246);
/* oklch */ color: oklch(65.4% 0.176 284.5);
Tailwind
colors: {
  custom: {
    50: '#b0a2fa',
    500: '#877cf6',
    950: '#000000',
  },
}
SCSS
$custom: #877cf6;
$custom-light: #b0a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf6",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 246
  },
  "hsl": {
    "h": 245.41,
    "s": 87.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65378,
    "c": 0.17617,
    "h": 284.5
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#877CF6
secondary
#F2F5D6
accent
#E402CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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