#7877CD#7877CD

#7877CD is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.129 H 282.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7877CD
RGBrgb(120, 119, 205)
HSLhsl(241, 46%, 64%)
HSVhsv(241, 42%, 80%)
CMYKcmyk(41.5%, 42%, 0%, 19.6%)
CIE-LABlab(53.59, 21.91, -44.51)
CIE-LCHlch(53.59, 49.61, 296.22°)
OKLaboklab(60.84% 0.0276 -0.1255)
OKLCHoklch(60.84% 0.129 282.4)
XYZxyz(25.3588, 21.5935, 60.5776)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877CD #CCCD77
analogous
#77A1CD #7877CD #A377CD
triadic
#7877CD #CD7877 #77CD78
tetradic
#7877CD #CD77A1 #CCCD77 #77CDA3
square
#7877CD #CD77A1 #CCCD77 #77CDA3
split-complementary
#7877CD #CDA377 #A1CD77
monochromatic
#373693 #4C4ABD #7877CD #A4A4DD #D1D0EE

Accessibility & contrast

On white

3.95
#7877CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7877CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877CD#FFFFFF#000000##000000
##7877CD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#5E8898
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7877cd;
/* rgb */ color: rgb(120, 119, 205);
/* oklch */ color: oklch(60.8% 0.129 282.4);
Tailwind
colors: {
  custom: {
    50: '#a39edc',
    500: '#7877cd',
    950: '#000000',
  },
}
SCSS
$custom: #7877cd;
$custom-light: #a39edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7877cd",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 240.698,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.12855,
    "h": 282.4
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#7877CD
secondary
#DFDFC1
accent
#B92CB8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7877CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7877CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva