#7879F8#7879F8

#7879F8 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.8% C 0.185 H 279.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7879F8
RGBrgb(120, 121, 248)
HSLhsl(240, 90%, 72%)
HSVhsv(240, 52%, 97%)
CMYKcmyk(51.6%, 51.2%, 0%, 2.7%)
CIE-LABlab(56.53, 33.47, -63.92)
CIE-LCHlch(56.53, 72.15, 297.63°)
OKLaboklab(63.85% 0.0304 -0.1825)
OKLCHoklch(63.85% 0.185 279.4)
XYZxyz(31.5211, 24.4432, 91.8458)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7879F8 #F8F778
analogous
#78B9F8 #7879F8 #B778F8
triadic
#7879F8 #F87879 #79F878
tetradic
#7879F8 #F878B9 #F8F778 #78F8B7
square
#7879F8 #F878B9 #F8F778 #78F8B7
split-complementary
#7879F8 #F8B778 #B9F878
monochromatic
#0C0EE9 #3E3FF5 #7879F8 #B2B3FB #E2E2FD

Accessibility & contrast

On white

3.57
#7879F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7879F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7879F8
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7879F8#FFFFFF#000000##000000
##7879F81.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFC
Deuteranopia (green-blind)
#2683F5
Tritanopia (blue-blind)
#4195AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7879f8;
/* rgb */ color: rgb(120, 121, 248);
/* oklch */ color: oklch(63.8% 0.185 279.4);
Tailwind
colors: {
  custom: {
    50: '#a79ffb',
    500: '#7879f8',
    950: '#000000',
  },
}
SCSS
$custom: #7879f8;
$custom-light: #a79ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7879f8",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 239.531,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.18499,
    "h": 279.4
  },
  "luminance": 0.24445
}

Semantic roles & 50–950 ramp

primary
#7879F8
secondary
#F6F5D5
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7879F8

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

Preview Lab → · Contrast checker → · Palette generator →

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