#7978F3#7978F3

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

Color values

HEX#7978F3
RGBrgb(121, 120, 243)
HSLhsl(240, 84%, 71%)
HSVhsv(240, 51%, 95%)
CMYKcmyk(50.2%, 50.6%, 0%, 4.7%)
CIE-LABlab(56.05, 32.75, -61.91)
CIE-LCHlch(56.05, 70.04, 297.88°)
OKLaboklab(63.41% 0.0322 -0.1766)
OKLCHoklch(63.41% 0.179 280.3)
XYZxyz(30.7743, 23.9672, 87.7812)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F3 #F2F378
analogous
#78B4F3 #7978F3 #B678F3
triadic
#7978F3 #F37978 #78F379
tetradic
#7978F3 #F378B4 #F2F378 #78F3B6
square
#7978F3 #F378B4 #F2F378 #78F3B6
split-complementary
#7978F3 #F3B678 #B4F378
monochromatic
#1514DD #4140EE #7978F3 #B1B0F8 #E3E3FD

Accessibility & contrast

On white

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

On black

5.79
#7978F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F3#FFFFFF#000000##000000
##7978F31.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF7
Deuteranopia (green-blind)
#2E82F0
Tritanopia (blue-blind)
#4893AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7978f3;
/* rgb */ color: rgb(121, 120, 243);
/* oklch */ color: oklch(63.4% 0.179 280.3);
Tailwind
colors: {
  custom: {
    50: '#a79ff8',
    500: '#7978f3',
    950: '#000000',
  },
}
SCSS
$custom: #7978f3;
$custom-light: #a79ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f3",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 240.488,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63414,
    "c": 0.17947,
    "h": 280.3
  },
  "luminance": 0.23969
}

Semantic roles & 50–950 ramp

primary
#7978F3
secondary
#F3F4D3
accent
#E005DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978F3

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

Preview Lab → · Contrast checker → · Palette generator →

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