#877CE3#877CE3

#877CE3 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.2% C 0.151 H 286.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#877CE3
RGBrgb(135, 124, 227)
HSLhsl(246, 65%, 69%)
HSVhsv(246, 45%, 89%)
CMYKcmyk(40.5%, 45.4%, 0%, 11%)
CIE-LABlab(57.18, 28.95, -51.13)
CIE-LCHlch(57.18, 58.76, 299.52°)
OKLaboklab(64.24% 0.0421 -0.1446)
OKLCHoklch(64.24% 0.151 286.2)
XYZxyz(31.0605, 25.1111, 75.8685)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CE3 #D8E37C
analogous
#7CA5E3 #877CE3 #BB7CE3
triadic
#877CE3 #E3877C #7CE387
tetradic
#877CE3 #E37CA5 #D8E37C #7CE3BB
square
#877CE3 #E37CA5 #D8E37C #7CE3BB
split-complementary
#877CE3 #E3BB7C #A5E37C
monochromatic
#3828BC #594AD8 #877CE3 #B5AEEE #E3E1F9

Accessibility & contrast

On white

3.49
#877CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#877CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CE3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CE3#FFFFFF#000000##000000
##877CE31.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558CE7
Deuteranopia (green-blind)
#5386E1
Tritanopia (blue-blind)
#6C91A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877ce3;
/* rgb */ color: rgb(135, 124, 227);
/* oklch */ color: oklch(64.2% 0.151 286.2);
Tailwind
colors: {
  custom: {
    50: '#aea2ec',
    500: '#877ce3',
    950: '#000000',
  },
}
SCSS
$custom: #877ce3;
$custom-light: #aea2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#877ce3",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 246.408,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64237,
    "c": 0.15055,
    "h": 286.2
  },
  "luminance": 0.25112
}

Semantic roles & 50–950 ramp

primary
#877CE3
secondary
#E9EDCE
accent
#CD19B9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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