#7978F5#7978F5

#7978F5 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.5% C 0.182 H 280.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7978F5
RGBrgb(121, 120, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(50.6%, 51%, 0%, 3.9%)
CIE-LABlab(56.18, 33.36, -62.82)
CIE-LCHlch(56.18, 71.13, 297.97°)
OKLaboklab(63.54% 0.0324 -0.1792)
OKLCHoklch(63.54% 0.182 280.2)
XYZxyz(31.0780, 24.0887, 89.3805)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F5 #F4F578
analogous
#78B6F5 #7978F5 #B878F5
triadic
#7978F5 #F57978 #78F579
tetradic
#7978F5 #F578B6 #F4F578 #78F5B8
square
#7978F5 #F578B6 #F4F578 #78F5B8
split-complementary
#7978F5 #F5B878 #B6F578
monochromatic
#1211E2 #403FF1 #7978F5 #B2B1F9 #E3E3FD

Accessibility & contrast

On white

3.61
#7978F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#7978F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F5#FFFFFF#000000##000000
##7978F51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF9
Deuteranopia (green-blind)
#2B82F2
Tritanopia (blue-blind)
#4794AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7978f5;
/* rgb */ color: rgb(121, 120, 245);
/* oklch */ color: oklch(63.5% 0.182 280.2);
Tailwind
colors: {
  custom: {
    50: '#a89ff9',
    500: '#7978f5',
    950: '#000000',
  },
}
SCSS
$custom: #7978f5;
$custom-light: #a89ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f5",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 240.48,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63544,
    "c": 0.18214,
    "h": 280.2
  },
  "luminance": 0.2409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7978F5

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

Preview Lab → · Contrast checker → · Palette generator →

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