#7979F2#7979F2

#7979F2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.5% C 0.177 H 280.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7979F2
RGBrgb(121, 121, 242)
HSLhsl(240, 82%, 71%)
HSVhsv(240, 50%, 95%)
CMYKcmyk(50%, 50%, 0%, 5.1%)
CIE-LABlab(56.24, 31.86, -61.06)
CIE-LCHlch(56.24, 68.88, 297.56°)
OKLaboklab(63.53% 0.0311 -0.174)
OKLCHoklch(63.53% 0.177 280.1)
XYZxyz(30.7446, 24.1488, 87.0283)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979F2 #F2F279
analogous
#79B5F2 #7979F2 #B579F2
triadic
#7979F2 #F27979 #79F279
tetradic
#7979F2 #F279B5 #F2F279 #79F2B5
square
#7979F2 #F279B5 #F2F279 #79F2B5
split-complementary
#7979F2 #F2B579 #B5F279
monochromatic
#1515DB #4141ED #7979F2 #B1B1F7 #E3E3FC

Accessibility & contrast

On white

3.60
#7979F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7979F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979F2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979F2#FFFFFF#000000##000000
##7979F21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF6
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#4994AA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7979f2;
/* rgb */ color: rgb(121, 121, 242);
/* oklch */ color: oklch(63.5% 0.177 280.1);
Tailwind
colors: {
  custom: {
    50: '#a79ff7',
    500: '#7979f2',
    950: '#000000',
  },
}
SCSS
$custom: #7979f2;
$custom-light: #a79ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7979f2",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63531,
    "c": 0.1768,
    "h": 280.1
  },
  "luminance": 0.2415
}

Semantic roles & 50–950 ramp

primary
#7979F2
secondary
#F3F3D3
accent
#DF07DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7979F2

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

Preview Lab → · Contrast checker → · Palette generator →

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