#7974FC#7974FC

#7974FC is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.3% C 0.197 H 280.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7974FC
RGBrgb(121, 116, 252)
HSLhsl(242, 96%, 72%)
HSVhsv(242, 54%, 99%)
CMYKcmyk(52%, 54%, 0%, 1.2%)
CIE-LABlab(55.67, 37.82, -67.52)
CIE-LCHlch(55.67, 77.39, 299.26°)
OKLaboklab(63.3% 0.037 -0.1931)
OKLCHoklch(63.3% 0.197 280.8)
XYZxyz(31.6958, 23.5821, 94.9582)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974FC #F7FC74
analogous
#74B3FC #7974FC #BD74FC
triadic
#7974FC #FC7974 #74FC79
tetradic
#7974FC #FC74B3 #F7FC74 #74FCBD
square
#7974FC #FC74B3 #F7FC74 #74FCBD
split-complementary
#7974FC #FCBD74 #B3FC74
monochromatic
#0E05F0 #3F38FB #7974FC #B3B0FD #E2E1FE

Accessibility & contrast

On white

3.67
#7974FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7974FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974FC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974FC#FFFFFF#000000##000000
##7974FC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#0080F9
Tritanopia (blue-blind)
#4193AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7974fc;
/* rgb */ color: rgb(121, 116, 252);
/* oklch */ color: oklch(63.3% 0.197 280.8);
Tailwind
colors: {
  custom: {
    50: '#a99cfe',
    500: '#7974fc',
    950: '#000000',
  },
}
SCSS
$custom: #7974fc;
$custom-light: #a99cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7974fc",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 242.206,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63303,
    "c": 0.19658,
    "h": 280.8
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7974FC

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

Preview Lab → · Contrast checker → · Palette generator →

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