#7980F5#7980F5

#7980F5 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.0% C 0.172 H 277.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7980F5
RGBrgb(121, 128, 245)
HSLhsl(237, 86%, 72%)
HSVhsv(237, 51%, 96%)
CMYKcmyk(50.6%, 47.8%, 0%, 3.9%)
CIE-LABlab(58.13, 28.62, -59.69)
CIE-LCHlch(58.13, 66.20, 295.61°)
OKLaboklab(65.01% 0.0236 -0.17)
OKLCHoklch(65.01% 0.172 277.9)
XYZxyz(32.0806, 26.0939, 89.7147)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980F5 #F5EE79
analogous
#79BEF5 #7980F5 #B079F5
triadic
#7980F5 #F57980 #80F579
tetradic
#7980F5 #F579BE #F5EE79 #79F5B0
square
#7980F5 #F579BE #F5EE79 #79F5B0
split-complementary
#7980F5 #F5B079 #BEF579
monochromatic
#111DE3 #404AF1 #7980F5 #B2B6F9 #E3E4FD

Accessibility & contrast

On white

3.38
#7980F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7980F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980F5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980F5#FFFFFF#000000##000000
##7980F51.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#4599AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7980f5;
/* rgb */ color: rgb(121, 128, 245);
/* oklch */ color: oklch(65.0% 0.172 277.9);
Tailwind
colors: {
  custom: {
    50: '#a7a4f9',
    500: '#7980f5',
    950: '#000000',
  },
}
SCSS
$custom: #7980f5;
$custom-light: #a7a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7980f5",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 245
  },
  "hsl": {
    "h": 236.613,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.17161,
    "h": 277.9
  },
  "luminance": 0.26096
}

Semantic roles & 50–950 ramp

primary
#7980F5
secondary
#F5F3D5
accent
#D603E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7980F5

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

Preview Lab → · Contrast checker → · Palette generator →

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