#7978F7#7978F7

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

Color values

HEX#7978F7
RGBrgb(121, 120, 247)
HSLhsl(240, 89%, 72%)
HSVhsv(240, 51%, 97%)
CMYKcmyk(51%, 51.4%, 0%, 3.1%)
CIE-LABlab(56.30, 33.96, -63.73)
CIE-LCHlch(56.30, 72.22, 298.05°)
OKLaboklab(63.68% 0.0325 -0.1819)
OKLCHoklch(63.68% 0.185 280.1)
XYZxyz(31.3849, 24.2115, 90.9972)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F7 #F6F778
analogous
#78B7F7 #7978F7 #B878F7
triadic
#7978F7 #F77978 #78F779
tetradic
#7978F7 #F778B7 #F6F778 #78F7B8
square
#7978F7 #F778B7 #F6F778 #78F7B8
split-complementary
#7978F7 #F7B878 #B7F778
monochromatic
#0F0EE7 #403EF4 #7978F7 #B2B2FA #E2E2FD

Accessibility & contrast

On white

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

On black

5.84
#7978F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F7#FFFFFF#000000##000000
##7978F71.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#2782F4
Tritanopia (blue-blind)
#4594AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7978f7;
/* rgb */ color: rgb(121, 120, 247);
/* oklch */ color: oklch(63.7% 0.185 280.1);
Tailwind
colors: {
  custom: {
    50: '#a89ffb',
    500: '#7978f7',
    950: '#000000',
  },
}
SCSS
$custom: #7978f7;
$custom-light: #a89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f7",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 240.472,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.1848,
    "h": 280.1
  },
  "luminance": 0.24213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7978F7

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

Preview Lab → · Contrast checker → · Palette generator →

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