#7978F2#7978F2

#7978F2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.3% C 0.178 H 280.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7978F2
RGBrgb(121, 120, 242)
HSLhsl(240, 82%, 71%)
HSVhsv(240, 50%, 95%)
CMYKcmyk(50%, 50.4%, 0%, 5.1%)
CIE-LABlab(55.99, 32.45, -61.45)
CIE-LCHlch(55.99, 69.49, 297.84°)
OKLaboklab(63.35% 0.0322 -0.1752)
OKLCHoklch(63.35% 0.178 280.4)
XYZxyz(30.6237, 23.9070, 86.9880)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978F2 #F1F278
analogous
#78B4F2 #7978F2 #B678F2
triadic
#7978F2 #F27978 #78F279
tetradic
#7978F2 #F278B4 #F1F278 #78F2B6
square
#7978F2 #F278B4 #F1F278 #78F2B6
split-complementary
#7978F2 #F2B678 #B4F278
monochromatic
#1715DB #4240ED #7978F2 #B0B0F7 #E3E3FC

Accessibility & contrast

On white

3.63
#7978F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7978F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978F2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978F2#FFFFFF#000000##000000
##7978F21.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#3082EF
Tritanopia (blue-blind)
#4993AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7978f2;
/* rgb */ color: rgb(121, 120, 242);
/* oklch */ color: oklch(63.3% 0.178 280.4);
Tailwind
colors: {
  custom: {
    50: '#a79ff7',
    500: '#7978f2',
    950: '#000000',
  },
}
SCSS
$custom: #7978f2;
$custom-light: #a79ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7978f2",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 240.492,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63349,
    "c": 0.17813,
    "h": 280.4
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#7978F2
secondary
#F3F3D3
accent
#DF07DD
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978F2

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

Preview Lab → · Contrast checker → · Palette generator →

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