#877DDC#877DDC

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

Color values

HEX#877DDC
RGBrgb(135, 125, 220)
HSLhsl(246, 58%, 68%)
HSVhsv(246, 43%, 86%)
CMYKcmyk(38.6%, 43.2%, 0%, 13.7%)
CIE-LABlab(57.06, 26.42, -47.41)
CIE-LCHlch(57.06, 54.27, 299.13°)
OKLaboklab(64.02% 0.0398 -0.1336)
OKLCHoklch(64.02% 0.139 286.6)
XYZxyz(30.2400, 24.9844, 70.9254)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DDC #D2DC7D
analogous
#7DA2DC #877DDC #B77DDC
triadic
#877DDC #DC877D #7DDC87
tetradic
#877DDC #DC7DA2 #D2DC7D #7DDCB7
square
#877DDC #DC7DA2 #D2DC7D #7DDCB7
split-complementary
#877DDC #DCB77D #A2DC7D
monochromatic
#3D2FAF #5A4DCF #877DDC #B4ADE9 #E0DDF6

Accessibility & contrast

On white

3.50
#877DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#877DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DDC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DDC#FFFFFF#000000##000000
##877DDC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BE0
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#7090A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #877ddc;
/* rgb */ color: rgb(135, 125, 220);
/* oklch */ color: oklch(64.0% 0.139 286.6);
Tailwind
colors: {
  custom: {
    50: '#ada2e7',
    500: '#877ddc',
    950: '#000000',
  },
}
SCSS
$custom: #877ddc;
$custom-light: #ada2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#877ddc",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 246.316,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.13945,
    "h": 286.6
  },
  "luminance": 0.24985
}

Semantic roles & 50–950 ramp

primary
#877DDC
secondary
#E6E9CC
accent
#C520B4
background
#FAFAFE
surface
#F5F3FC
border
#CFCDD5
text
#110F16
muted
#807F84

Preview Lab

Preview with #877DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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