#7978DF#7978DF

#7978DF is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.2% C 0.152 H 281.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7978DF
RGBrgb(121, 120, 223)
HSLhsl(241, 62%, 67%)
HSVhsv(241, 46%, 87%)
CMYKcmyk(45.7%, 46.2%, 0%, 12.5%)
CIE-LABlab(54.89, 26.80, -52.61)
CIE-LCHlch(54.89, 59.04, 297.00°)
OKLaboklab(62.16% 0.0303 -0.1492)
OKLCHoklch(62.16% 0.152 281.5)
XYZxyz(27.9169, 22.8243, 72.7323)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978DF #DEDF78
analogous
#78AADF #7978DF #AD78DF
triadic
#7978DF #DF7978 #78DF79
tetradic
#7978DF #DF78AA #DEDF78 #78DFAD
square
#7978DF #DF78AA #DEDF78 #78DFAD
split-complementary
#7978DF #DFAD78 #AADF78
monochromatic
#2C2AB2 #4847D3 #7978DF #AAA9EB #DBDBF6

Accessibility & contrast

On white

3.77
#7978DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7978DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978DF#FFFFFF#000000##000000
##7978DF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#4780DD
Tritanopia (blue-blind)
#568EA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7978df;
/* rgb */ color: rgb(121, 120, 223);
/* oklch */ color: oklch(62.2% 0.152 281.5);
Tailwind
colors: {
  custom: {
    50: '#a59fe9',
    500: '#7978df',
    950: '#000000',
  },
}
SCSS
$custom: #7978df;
$custom-light: #a59fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7978df",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 240.583,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.15227,
    "h": 281.5
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#7978DF
secondary
#E9EAC9
accent
#C91CC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7978DF

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

Preview Lab → · Contrast checker → · Palette generator →

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