#7978F8#7978F8

#7978F8 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.186 H 280.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7978F8
RGBrgb(121, 120, 248)
HSLhsl(240, 90%, 72%)
HSVhsv(240, 52%, 97%)
CMYKcmyk(51.2%, 51.6%, 0%, 2.7%)
CIE-LABlab(56.36, 34.26, -64.19)
CIE-LCHlch(56.36, 72.76, 298.09°)
OKLaboklab(63.74% 0.0326 -0.1832)
OKLCHoklch(63.74% 0.186 280.1)
XYZxyz(31.5397, 24.2733, 91.8120)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F8 #F7F878
analogous
#78B7F8 #7978F8 #B978F8
triadic
#7978F8 #F87978 #78F879
tetradic
#7978F8 #F878B7 #F7F878 #78F8B9
square
#7978F8 #F878B7 #F7F878 #78F8B9
split-complementary
#7978F8 #F8B978 #B7F878
monochromatic
#0E0CE9 #3F3EF5 #7978F8 #B3B2FB #E2E2FD

Accessibility & contrast

On white

3.59
#7978F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7978F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F8#FFFFFF#000000##000000
##7978F81.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#2482F5
Tritanopia (blue-blind)
#4495AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7978f8;
/* rgb */ color: rgb(121, 120, 248);
/* oklch */ color: oklch(63.7% 0.186 280.1);
Tailwind
colors: {
  custom: {
    50: '#a89ffb',
    500: '#7978f8',
    950: '#000000',
  },
}
SCSS
$custom: #7978f8;
$custom-light: #a89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f8",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 240.469,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63741,
    "c": 0.18612,
    "h": 280.1
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

primary
#7978F8
secondary
#F5F6D5
accent
#E600E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978F8

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

Preview Lab → · Contrast checker → · Palette generator →

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