#877CF2#877CF2

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

Color values

HEX#877CF2
RGBrgb(135, 124, 242)
HSLhsl(246, 82%, 72%)
HSVhsv(246, 49%, 95%)
CMYKcmyk(44.2%, 48.8%, 0%, 5.1%)
CIE-LABlab(58.01, 33.18, -58.16)
CIE-LCHlch(58.01, 66.96, 299.71°)
OKLaboklab(65.13% 0.0438 -0.1651)
OKLCHoklch(65.13% 0.171 284.8)
XYZxyz(33.2217, 25.9756, 87.2505)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CF2 #E7F27C
analogous
#7CACF2 #877CF2 #C27CF2
triadic
#877CF2 #F2877C #7CF287
tetradic
#877CF2 #F27CAC #E7F27C #7CF2C2
square
#877CF2 #F27CAC #E7F27C #7CF2C2
split-complementary
#877CF2 #F2C27C #ACF27C
monochromatic
#2916DE #5444EC #877CF2 #BAB4F8 #E5E3FC

Accessibility & contrast

On white

3.39
#877CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#877CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CF2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CF2#FFFFFF#000000##000000
##877CF21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#4588EF
Tritanopia (blue-blind)
#6595AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #877cf2;
/* rgb */ color: rgb(135, 124, 242);
/* oklch */ color: oklch(65.1% 0.171 284.8);
Tailwind
colors: {
  custom: {
    50: '#afa2f7',
    500: '#877cf2',
    950: '#000000',
  },
}
SCSS
$custom: #877cf2;
$custom-light: #afa2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#877cf2",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 245.593,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65131,
    "c": 0.17084,
    "h": 284.8
  },
  "luminance": 0.25977
}

Semantic roles & 50–950 ramp

primary
#877CF2
secondary
#F1F4D6
accent
#DE07CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #877CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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