#7974FE#7974FE

#7974FE is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.4% C 0.199 H 280.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7974FE
RGBrgb(121, 116, 254)
HSLhsl(242, 99%, 73%)
HSVhsv(242, 54%, 100%)
CMYKcmyk(52.4%, 54.3%, 0%, 0.4%)
CIE-LABlab(55.80, 38.42, -68.42)
CIE-LCHlch(55.80, 78.47, 299.32°)
OKLaboklab(63.44% 0.037 -0.1957)
OKLCHoklch(63.44% 0.199 280.7)
XYZxyz(32.0144, 23.7096, 96.6362)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974FE #F9FE74
analogous
#74B4FE #7974FE #BE74FE
triadic
#7974FE #FE7974 #74FE79
tetradic
#7974FE #FE74B4 #F9FE74 #74FEBE
square
#7974FE #FE74B4 #F9FE74 #74FEBE
split-complementary
#7974FE #FEBE74 #B4FE74
monochromatic
#0B02F6 #3E37FE #7974FE #B4B1FE #E2E1FF

Accessibility & contrast

On white

3.66
#7974FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7974FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974FE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974FE#FFFFFF#000000##000000
##7974FE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#198BFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#3F93AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7974fe;
/* rgb */ color: rgb(121, 116, 254);
/* oklch */ color: oklch(63.4% 0.199 280.7);
Tailwind
colors: {
  custom: {
    50: '#a99cff',
    500: '#7974fe',
    950: '#000000',
  },
}
SCSS
$custom: #7974fe;
$custom-light: #a99cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7974fe",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 242.174,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6344,
    "c": 0.19918,
    "h": 280.7
  },
  "luminance": 0.23711
}

Semantic roles & 50–950 ramp

primary
#7974FE
secondary
#F6F7D4
accent
#E600DD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7974FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7974FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva