#7978FA#7978FA

#7978FA is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.9% C 0.189 H 280.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7978FA
RGBrgb(121, 120, 250)
HSLhsl(240, 93%, 73%)
HSVhsv(240, 52%, 98%)
CMYKcmyk(51.6%, 52%, 0%, 2%)
CIE-LABlab(56.48, 34.87, -65.10)
CIE-LCHlch(56.48, 73.84, 298.17°)
OKLaboklab(63.87% 0.0327 -0.1859)
OKLCHoklch(63.87% 0.189 280)
XYZxyz(31.8516, 24.3981, 93.4549)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978FA #F9FA78
analogous
#78B8FA #7978FA #BA78FA
triadic
#7978FA #FA7978 #78FA79
tetradic
#7978FA #FA78B8 #F9FA78 #78FABA
square
#7978FA #FA78B8 #F9FA78 #78FABA
split-complementary
#7978FA #FABA78 #B8FA78
monochromatic
#0B09EF #3E3DF8 #7978FA #B4B3FC #E2E1FE

Accessibility & contrast

On white

3.57
#7978FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7978FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978FA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978FA#FFFFFF#000000##000000
##7978FA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#1F83F7
Tritanopia (blue-blind)
#4295AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7978fa;
/* rgb */ color: rgb(121, 120, 250);
/* oklch */ color: oklch(63.9% 0.189 280.0);
Tailwind
colors: {
  custom: {
    50: '#a89ffd',
    500: '#7978fa',
    950: '#000000',
  },
}
SCSS
$custom: #7978fa;
$custom-light: #a89ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7978fa",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 240.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.18877,
    "h": 280
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

primary
#7978FA
secondary
#F6F6D5
accent
#E600E4
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7978FA

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

Preview Lab → · Contrast checker → · Palette generator →

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