#7877EF#7877EF

#7877EF is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.9% C 0.176 H 280.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7877EF
RGBrgb(120, 119, 239)
HSLhsl(241, 79%, 70%)
HSVhsv(241, 50%, 94%)
CMYKcmyk(49.8%, 50.2%, 0%, 6.3%)
CIE-LABlab(55.50, 31.93, -60.58)
CIE-LCHlch(55.50, 68.48, 297.80°)
OKLaboklab(62.9% 0.0319 -0.1727)
OKLCHoklch(62.9% 0.176 280.5)
XYZxyz(29.9178, 23.4170, 84.5881)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877EF #EEEF77
analogous
#77B2EF #7877EF #B477EF
triadic
#7877EF #EF7877 #77EF78
tetradic
#7877EF #EF77B2 #EEEF77 #77EFB4
square
#7877EF #EF77B2 #EEEF77 #77EFB4
split-complementary
#7877EF #EFB477 #B2EF77
monochromatic
#1A19D3 #4240E9 #7877EF #AEAEF5 #E4E4FC

Accessibility & contrast

On white

3.69
#7877EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7877EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877EF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877EF#FFFFFF#000000##000000
##7877EF1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#3180EC
Tritanopia (blue-blind)
#4991A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7877ef;
/* rgb */ color: rgb(120, 119, 239);
/* oklch */ color: oklch(62.9% 0.176 280.5);
Tailwind
colors: {
  custom: {
    50: '#a69ef5',
    500: '#7877ef',
    950: '#000000',
  },
}
SCSS
$custom: #7877ef;
$custom-light: #a69ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7877ef",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 240.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62901,
    "c": 0.1756,
    "h": 280.5
  },
  "luminance": 0.23419
}

Semantic roles & 50–950 ramp

primary
#7877EF
secondary
#F1F2D0
accent
#DB0AD9
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7877EF

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

Preview Lab → · Contrast checker → · Palette generator →

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