#7974EB#7974EB

#7974EB is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.2% C 0.174 H 282.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7974EB
RGBrgb(121, 116, 235)
HSLhsl(243, 75%, 69%)
HSVhsv(243, 51%, 92%)
CMYKcmyk(48.5%, 50.6%, 0%, 7.8%)
CIE-LABlab(54.61, 32.73, -59.78)
CIE-LCHlch(54.61, 68.15, 298.70°)
OKLaboklab(62.17% 0.0361 -0.1703)
OKLCHoklch(62.17% 0.174 282)
XYZxyz(29.1214, 22.5524, 81.3997)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974EB #E6EB74
analogous
#74ABEB #7974EB #B574EB
triadic
#7974EB #EB7974 #74EB79
tetradic
#7974EB #EB74AB #E6EB74 #74EBB5
square
#7974EB #EB74AB #E6EB74 #74EBB5
split-complementary
#7974EB #EBB574 #ABEB74
monochromatic
#241DC8 #453EE3 #7974EB #ADAAF3 #E0DFFA

Accessibility & contrast

On white

3.81
#7974EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7974EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974EB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974EB#FFFFFF#000000##000000
##7974EB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#4F8EA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7974eb;
/* rgb */ color: rgb(121, 116, 235);
/* oklch */ color: oklch(62.2% 0.174 282.0);
Tailwind
colors: {
  custom: {
    50: '#a79cf2',
    500: '#7974eb',
    950: '#000000',
  },
}
SCSS
$custom: #7974eb;
$custom-light: #a79cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7974eb",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 242.521,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62173,
    "c": 0.17409,
    "h": 282
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#7974EB
secondary
#EEEFCC
accent
#D70FCF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7974EB

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

Preview Lab → · Contrast checker → · Palette generator →

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