#7979F5#7979F5

#7979F5 is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.7% C 0.181 H 280.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7979F5
RGBrgb(121, 121, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 51%, 96%)
CMYKcmyk(50.6%, 50.6%, 0%, 3.9%)
CIE-LABlab(56.42, 32.77, -62.44)
CIE-LCHlch(56.42, 70.51, 297.69°)
OKLaboklab(63.73% 0.0313 -0.1781)
OKLCHoklch(63.73% 0.181 280)
XYZxyz(31.1989, 24.3305, 89.4208)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979F5 #F5F579
analogous
#79B7F5 #7979F5 #B779F5
triadic
#7979F5 #F57979 #79F579
tetradic
#7979F5 #F579B7 #F5F579 #79F5B7
square
#7979F5 #F579B7 #F5F579 #79F5B7
split-complementary
#7979F5 #F5B779 #B7F579
monochromatic
#1111E3 #4040F1 #7979F5 #B2B2F9 #E3E3FD

Accessibility & contrast

On white

3.58
#7979F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7979F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979F5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979F5#FFFFFF#000000##000000
##7979F51.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#2D83F2
Tritanopia (blue-blind)
#4794AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7979f5;
/* rgb */ color: rgb(121, 121, 245);
/* oklch */ color: oklch(63.7% 0.181 280.0);
Tailwind
colors: {
  custom: {
    50: '#a79ff9',
    500: '#7979f5',
    950: '#000000',
  },
}
SCSS
$custom: #7979f5;
$custom-light: #a79ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7979f5",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.18082,
    "h": 280
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

primary
#7979F5
secondary
#F5F5D5
accent
#E303E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7979F5

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

Preview Lab → · Contrast checker → · Palette generator →

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