#7877DB#7877DB

#7877DB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.148 H 281.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7877DB
RGBrgb(120, 119, 219)
HSLhsl(241, 58%, 66%)
HSVhsv(241, 46%, 86%)
CMYKcmyk(45.2%, 45.7%, 0%, 14.1%)
CIE-LABlab(54.34, 25.98, -51.23)
CIE-LCHlch(54.34, 57.44, 296.89°)
OKLaboklab(61.66% 0.0298 -0.1452)
OKLCHoklch(61.66% 0.148 281.6)
XYZxyz(27.1249, 22.2999, 69.8792)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877DB #DADB77
analogous
#77A8DB #7877DB #AA77DB
triadic
#7877DB #DB7877 #77DB78
tetradic
#7877DB #DB77A8 #DADB77 #77DBAA
square
#7877DB #DB77A8 #DADB77 #77DBAA
split-complementary
#7877DB #DBAA77 #A8DB77
monochromatic
#2E2DAA #4847CE #7877DB #A8A7E8 #D8D8F5

Accessibility & contrast

On white

3.85
#7877DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7877DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877DB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877DB#FFFFFF#000000##000000
##7877DB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#497ED9
Tritanopia (blue-blind)
#578C9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7877db;
/* rgb */ color: rgb(120, 119, 219);
/* oklch */ color: oklch(61.7% 0.148 281.6);
Tailwind
colors: {
  custom: {
    50: '#a49ee7',
    500: '#7877db',
    950: '#000000',
  },
}
SCSS
$custom: #7877db;
$custom-light: #a49ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7877db",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 240.6,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.14825,
    "h": 281.6
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#7877DB
secondary
#E7E7C7
accent
#C620C4
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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