#7974EE#7974EE

#7974EE is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.4% C 0.178 H 281.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7974EE
RGBrgb(121, 116, 238)
HSLhsl(242, 78%, 69%)
HSVhsv(242, 51%, 93%)
CMYKcmyk(49.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(54.79, 33.62, -61.16)
CIE-LCHlch(54.79, 69.79, 298.80°)
OKLaboklab(62.37% 0.0363 -0.1744)
OKLCHoklch(62.37% 0.178 281.8)
XYZxyz(29.5585, 22.7272, 83.7016)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974EE #E9EE74
analogous
#74ACEE #7974EE #B674EE
triadic
#7974EE #EE7974 #74EE79
tetradic
#7974EE #EE74AC #E9EE74 #74EEB6
square
#7974EE #EE74AC #E9EE74 #74EEB6
split-complementary
#7974EE #EEB674 #ACEE74
monochromatic
#2119CE #443DE7 #7974EE #AEABF5 #E2E1FB

Accessibility & contrast

On white

3.79
#7974EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7974EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974EE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974EE#FFFFFF#000000##000000
##7974EE1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#2C7FEB
Tritanopia (blue-blind)
#4D8FA6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7974ee;
/* rgb */ color: rgb(121, 116, 238);
/* oklch */ color: oklch(62.4% 0.178 281.8);
Tailwind
colors: {
  custom: {
    50: '#a79cf4',
    500: '#7974ee',
    950: '#000000',
  },
}
SCSS
$custom: #7974ee;
$custom-light: #a79cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7974ee",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 242.459,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.17811,
    "h": 281.8
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#7974EE
secondary
#EFF0CD
accent
#DA0BD2
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7974EE

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

Preview Lab → · Contrast checker → · Palette generator →

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