#7877EB#7877EB

#7877EB is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.6% C 0.170 H 280.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7877EB
RGBrgb(120, 119, 235)
HSLhsl(241, 74%, 69%)
HSVhsv(241, 49%, 92%)
CMYKcmyk(48.9%, 49.4%, 0%, 7.8%)
CIE-LABlab(55.26, 30.73, -58.74)
CIE-LCHlch(55.26, 66.29, 297.62°)
OKLaboklab(62.65% 0.0316 -0.1672)
OKLCHoklch(62.65% 0.17 280.7)
XYZxyz(29.3334, 23.1833, 81.5103)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877EB #EAEB77
analogous
#77B0EB #7877EB #B277EB
triadic
#7877EB #EB7877 #77EB78
tetradic
#7877EB #EB77B0 #EAEB77 #77EBB2
square
#7877EB #EB77B0 #EAEB77 #77EBB2
split-complementary
#7877EB #EBB277 #B0EB77
monochromatic
#1F1ECA #4342E3 #7877EB #ADACF3 #E2E2FB

Accessibility & contrast

On white

3.73
#7877EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7877EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877EB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877EB#FFFFFF#000000##000000
##7877EB1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#4C90A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7877eb;
/* rgb */ color: rgb(120, 119, 235);
/* oklch */ color: oklch(62.6% 0.170 280.7);
Tailwind
colors: {
  custom: {
    50: '#a69ef2',
    500: '#7877eb',
    950: '#000000',
  },
}
SCSS
$custom: #7877eb;
$custom-light: #a69ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7877eb",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 240.517,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62645,
    "c": 0.1702,
    "h": 280.7
  },
  "luminance": 0.23185
}

Semantic roles & 50–950 ramp

primary
#7877EB
secondary
#EFF0CE
accent
#D60FD5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7877EB

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

Preview Lab → · Contrast checker → · Palette generator →

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