#7978F9#7978F9

#7978F9 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.8% C 0.187 H 280.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7978F9
RGBrgb(121, 120, 249)
HSLhsl(240, 91%, 72%)
HSVhsv(240, 52%, 98%)
CMYKcmyk(51.4%, 51.8%, 0%, 2.4%)
CIE-LABlab(56.42, 34.56, -64.64)
CIE-LCHlch(56.42, 73.30, 298.13°)
OKLaboklab(63.81% 0.0326 -0.1846)
OKLCHoklch(63.81% 0.187 280)
XYZxyz(31.6952, 24.3356, 92.6313)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F9 #F8F978
analogous
#78B8F9 #7978F9 #B978F9
triadic
#7978F9 #F97978 #78F979
tetradic
#7978F9 #F978B8 #F8F978 #78F9B9
square
#7978F9 #F978B8 #F8F978 #78F9B9
split-complementary
#7978F9 #F9B978 #B8F978
monochromatic
#0C0AEC #3F3DF6 #7978F9 #B3B3FC #E2E2FE

Accessibility & contrast

On white

3.58
#7978F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7978F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F9#FFFFFF#000000##000000
##7978F91.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFE
Deuteranopia (green-blind)
#2282F6
Tritanopia (blue-blind)
#4395AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7978f9;
/* rgb */ color: rgb(121, 120, 249);
/* oklch */ color: oklch(63.8% 0.187 280.0);
Tailwind
colors: {
  custom: {
    50: '#a89ffc',
    500: '#7978f9',
    950: '#000000',
  },
}
SCSS
$custom: #7978f9;
$custom-light: #a89ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f9",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 240.465,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.18745,
    "h": 280
  },
  "luminance": 0.24337
}

Semantic roles & 50–950 ramp

primary
#7978F9
secondary
#F6F6D5
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #7978F9

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

Preview Lab → · Contrast checker → · Palette generator →

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