#7974EA#7974EA

#7974EA is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.1% C 0.173 H 282.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7974EA
RGBrgb(121, 116, 234)
HSLhsl(243, 74%, 69%)
HSVhsv(243, 50%, 92%)
CMYKcmyk(48.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(54.55, 32.43, -59.32)
CIE-LCHlch(54.55, 67.60, 298.67°)
OKLaboklab(62.11% 0.036 -0.1689)
OKLCHoklch(62.11% 0.173 282)
XYZxyz(28.9773, 22.4947, 80.6410)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974EA #E5EA74
analogous
#74AAEA #7974EA #B474EA
triadic
#7974EA #EA7974 #74EA79
tetradic
#7974EA #EA74AA #E5EA74 #74EAB4
square
#7974EA #EA74AA #E5EA74 #74EAB4
split-complementary
#7974EA #EAB474 #AAEA74
monochromatic
#251EC6 #463FE2 #7974EA #ACA9F2 #E0DEFA

Accessibility & contrast

On white

3.82
#7974EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7974EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974EA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974EA#FFFFFF#000000##000000
##7974EA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#508EA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7974ea;
/* rgb */ color: rgb(121, 116, 234);
/* oklch */ color: oklch(62.1% 0.173 282.0);
Tailwind
colors: {
  custom: {
    50: '#a69cf1',
    500: '#7974ea',
    950: '#000000',
  },
}
SCSS
$custom: #7974ea;
$custom-light: #a69cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7974ea",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 242.542,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62109,
    "c": 0.17274,
    "h": 282
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#7974EA
secondary
#EDEFCB
accent
#D610CD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7974EA

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

Preview Lab → · Contrast checker → · Palette generator →

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