#7877F8#7877F8

#7877F8 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.5% C 0.188 H 280.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7877F8
RGBrgb(120, 119, 248)
HSLhsl(240, 90%, 72%)
HSVhsv(240, 52%, 97%)
CMYKcmyk(51.6%, 52%, 0%, 2.7%)
CIE-LABlab(56.05, 34.65, -64.69)
CIE-LCHlch(56.05, 73.39, 298.17°)
OKLaboklab(63.49% 0.0325 -0.1848)
OKLCHoklch(63.49% 0.188 280)
XYZxyz(31.2806, 23.9622, 91.7656)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7877F8 #F7F877
analogous
#77B7F8 #7877F8 #B977F8
triadic
#7877F8 #F87877 #77F878
tetradic
#7877F8 #F877B7 #F7F877 #77F8B9
square
#7877F8 #F877B7 #F7F877 #77F8B9
split-complementary
#7877F8 #F8B977 #B7F877
monochromatic
#0E0CE9 #3E3DF5 #7877F8 #B2B1FB #E2E2FE

Accessibility & contrast

On white

3.63
#7877F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7877F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7877F8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7877F8#FFFFFF#000000##000000
##7877F81.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFD
Deuteranopia (green-blind)
#1F81F5
Tritanopia (blue-blind)
#4294AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7877f8;
/* rgb */ color: rgb(120, 119, 248);
/* oklch */ color: oklch(63.5% 0.188 280.0);
Tailwind
colors: {
  custom: {
    50: '#a79efb',
    500: '#7877f8',
    950: '#000000',
  },
}
SCSS
$custom: #7877f8;
$custom-light: #a79efb;
$custom-dark: #000000;
JSON
{
  "hex": "#7877f8",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 240.465,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6349,
    "c": 0.18761,
    "h": 280
  },
  "luminance": 0.23964
}

Semantic roles & 50–950 ramp

primary
#7877F8
secondary
#F5F6D5
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7877F8

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

Preview Lab → · Contrast checker → · Palette generator →

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