#877CDF#877CDF

#877CDF is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.145 H 286.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#877CDF
RGBrgb(135, 124, 223)
HSLhsl(247, 61%, 68%)
HSVhsv(247, 44%, 87%)
CMYKcmyk(39.5%, 44.4%, 0%, 12.5%)
CIE-LABlab(56.97, 27.84, -49.23)
CIE-LCHlch(56.97, 56.56, 299.49°)
OKLaboklab(64.01% 0.0415 -0.139)
OKLCHoklch(64.01% 0.145 286.6)
XYZxyz(30.5149, 24.8929, 72.9947)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CDF #D4DF7C
analogous
#7CA2DF #877CDF #B97CDF
triadic
#877CDF #DF877C #7CDF87
tetradic
#877CDF #DF7CA2 #D4DF7C #7CDFB9
square
#877CDF #DF7CA2 #D4DF7C #7CDFB9
split-complementary
#877CDF #DFB97C #A2DF7C
monochromatic
#3B2CB5 #5A4BD3 #877CDF #B4ADEB #E1DEF7

Accessibility & contrast

On white

3.51
#877CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#877CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CDF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CDF#FFFFFF#000000##000000
##877CDF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE3
Deuteranopia (green-blind)
#5786DD
Tritanopia (blue-blind)
#6E90A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877cdf;
/* rgb */ color: rgb(135, 124, 223);
/* oklch */ color: oklch(64.0% 0.145 286.6);
Tailwind
colors: {
  custom: {
    50: '#aea2e9',
    500: '#877cdf',
    950: '#000000',
  },
}
SCSS
$custom: #877cdf;
$custom-light: #aea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#877cdf",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 246.667,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64007,
    "c": 0.14506,
    "h": 286.6
  },
  "luminance": 0.24894
}

Semantic roles & 50–950 ramp

primary
#877CDF
secondary
#E7EBCC
accent
#C81DB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #877CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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