#7980F8#7980F8

#7980F8 is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.2% C 0.176 H 277.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7980F8
RGBrgb(121, 128, 248)
HSLhsl(237, 90%, 72%)
HSVhsv(237, 51%, 97%)
CMYKcmyk(51.2%, 48.4%, 0%, 2.7%)
CIE-LABlab(58.30, 29.53, -61.07)
CIE-LCHlch(58.30, 67.84, 295.80°)
OKLaboklab(65.2% 0.0239 -0.174)
OKLCHoklch(65.2% 0.176 277.8)
XYZxyz(32.5423, 26.2786, 92.1462)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980F8 #F8F179
analogous
#79BFF8 #7980F8 #B279F8
triadic
#7980F8 #F87980 #80F879
tetradic
#7980F8 #F879BF #F8F179 #79F8B2
square
#7980F8 #F879BF #F8F179 #79F8B2
split-complementary
#7980F8 #F8B279 #BFF879
monochromatic
#0C18EA #3F49F5 #7980F8 #B3B7FB #E2E3FD

Accessibility & contrast

On white

3.36
#7980F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#7980F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980F8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980F8#FFFFFF#000000##000000
##7980F81.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#439AB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7980f8;
/* rgb */ color: rgb(121, 128, 248);
/* oklch */ color: oklch(65.2% 0.176 277.8);
Tailwind
colors: {
  custom: {
    50: '#a8a4fb',
    500: '#7980f8',
    950: '#000000',
  },
}
SCSS
$custom: #7980f8;
$custom-light: #a8a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7980f8",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 236.693,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.652,
    "c": 0.17567,
    "h": 277.8
  },
  "luminance": 0.26281
}

Semantic roles & 50–950 ramp

primary
#7980F8
secondary
#F6F4D5
accent
#D900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7980F8

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

Preview Lab → · Contrast checker → · Palette generator →

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