#7978F6#7978F6

#7978F6 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.6% C 0.183 H 280.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7978F6
RGBrgb(121, 120, 246)
HSLhsl(240, 88%, 72%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(50.8%, 51.2%, 0%, 3.5%)
CIE-LABlab(56.24, 33.66, -63.28)
CIE-LCHlch(56.24, 71.67, 298.01°)
OKLaboklab(63.61% 0.0324 -0.1806)
OKLCHoklch(63.61% 0.183 280.2)
XYZxyz(31.2311, 24.1499, 90.1866)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F6 #F5F678
analogous
#78B6F6 #7978F6 #B878F6
triadic
#7978F6 #F67978 #78F679
tetradic
#7978F6 #F678B6 #F5F678 #78F6B8
square
#7978F6 #F678B6 #F5F678 #78F6B8
split-complementary
#7978F6 #F6B878 #B6F678
monochromatic
#110FE4 #403FF2 #7978F6 #B2B1FA #E3E2FD

Accessibility & contrast

On white

3.60
#7978F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7978F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F6#FFFFFF#000000##000000
##7978F61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFA
Deuteranopia (green-blind)
#2982F3
Tritanopia (blue-blind)
#4694AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7978f6;
/* rgb */ color: rgb(121, 120, 246);
/* oklch */ color: oklch(63.6% 0.183 280.2);
Tailwind
colors: {
  custom: {
    50: '#a89ffa',
    500: '#7978f6',
    950: '#000000',
  },
}
SCSS
$custom: #7978f6;
$custom-light: #a89ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f6",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 240.476,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6361,
    "c": 0.18347,
    "h": 280.2
  },
  "luminance": 0.24152
}

Semantic roles & 50–950 ramp

primary
#7978F6
secondary
#F5F5D5
accent
#E401E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978F6

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

Preview Lab → · Contrast checker → · Palette generator →

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