#7979F8#7979F8

#7979F8 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.185 H 279.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7979F8
RGBrgb(121, 121, 248)
HSLhsl(240, 90%, 72%)
HSVhsv(240, 51%, 97%)
CMYKcmyk(51.2%, 51.2%, 0%, 2.7%)
CIE-LABlab(56.60, 33.67, -63.80)
CIE-LCHlch(56.60, 72.14, 297.82°)
OKLaboklab(63.92% 0.0315 -0.1821)
OKLCHoklch(63.92% 0.185 279.8)
XYZxyz(31.6606, 24.5151, 91.8523)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979F8 #F8F879
analogous
#79B9F8 #7979F8 #B979F8
triadic
#7979F8 #F87979 #79F879
tetradic
#7979F8 #F879B9 #F8F879 #79F8B9
square
#7979F8 #F879B9 #F8F879 #79F8B9
split-complementary
#7979F8 #F8B979 #B9F879
monochromatic
#0C0CEA #3F3FF5 #7979F8 #B3B3FB #E2E2FD

Accessibility & contrast

On white

3.56
#7979F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7979F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979F8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979F8#FFFFFF#000000##000000
##7979F81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFC
Deuteranopia (green-blind)
#2883F5
Tritanopia (blue-blind)
#4495AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7979f8;
/* rgb */ color: rgb(121, 121, 248);
/* oklch */ color: oklch(63.9% 0.185 279.8);
Tailwind
colors: {
  custom: {
    50: '#a89ffb',
    500: '#7979f8',
    950: '#000000',
  },
}
SCSS
$custom: #7979f8;
$custom-light: #a89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#7979f8",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6392,
    "c": 0.18481,
    "h": 279.8
  },
  "luminance": 0.24517
}

Semantic roles & 50–950 ramp

primary
#7979F8
secondary
#F6F6D5
accent
#E600E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7979F8

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

Preview Lab → · Contrast checker → · Palette generator →

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