#7978F4#7978F4

#7978F4 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.5% C 0.181 H 280.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7978F4
RGBrgb(121, 120, 244)
HSLhsl(240, 85%, 71%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(50.4%, 50.8%, 0%, 4.3%)
CIE-LABlab(56.12, 33.06, -62.37)
CIE-LCHlch(56.12, 70.58, 297.92°)
OKLaboklab(63.48% 0.0323 -0.1779)
OKLCHoklch(63.48% 0.181 280.3)
XYZxyz(30.9257, 24.0278, 88.5787)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F4 #F3F478
analogous
#78B5F4 #7978F4 #B778F4
triadic
#7978F4 #F47978 #78F479
tetradic
#7978F4 #F478B5 #F3F478 #78F4B7
square
#7978F4 #F478B5 #F3F478 #78F4B7
split-complementary
#7978F4 #F4B778 #B5F478
monochromatic
#1412DF #413FEF #7978F4 #B1B1F9 #E3E3FD

Accessibility & contrast

On white

3.62
#7978F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7978F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F4#FFFFFF#000000##000000
##7978F41.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF8
Deuteranopia (green-blind)
#2C82F1
Tritanopia (blue-blind)
#4893AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7978f4;
/* rgb */ color: rgb(121, 120, 244);
/* oklch */ color: oklch(63.5% 0.181 280.3);
Tailwind
colors: {
  custom: {
    50: '#a79ff8',
    500: '#7978f4',
    950: '#000000',
  },
}
SCSS
$custom: #7978f4;
$custom-light: #a79ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f4",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 240.484,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63479,
    "c": 0.1808,
    "h": 280.3
  },
  "luminance": 0.2403
}

Semantic roles & 50–950 ramp

primary
#7978F4
secondary
#F4F4D4
accent
#E104E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978F4

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

Preview Lab → · Contrast checker → · Palette generator →

#7978F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva