#7974CE#7974CE

#7974CE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.134 H 284.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7974CE
RGBrgb(121, 116, 206)
HSLhsl(243, 48%, 63%)
HSVhsv(243, 44%, 81%)
CMYKcmyk(41.3%, 43.7%, 0%, 19.2%)
CIE-LABlab(52.96, 24.25, -46.07)
CIE-LCHlch(52.96, 52.06, 297.76°)
OKLaboklab(60.4% 0.0328 -0.1301)
OKLCHoklch(60.4% 0.134 284.1)
XYZxyz(25.2679, 21.0110, 61.1047)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974CE #C9CE74
analogous
#749CCE #7974CE #A674CE
triadic
#7974CE #CE7974 #74CE79
tetradic
#7974CE #CE749C #C9CE74 #74CEA6
square
#7974CE #CE749C #C9CE74 #74CEA6
split-complementary
#7974CE #CEA674 #9CCE74
monochromatic
#393494 #4D47BE #7974CE #A5A1DE #D0CEEE

Accessibility & contrast

On white

4.04
#7974CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7974CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974CE#FFFFFF#000000##000000
##7974CE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#608697
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7974ce;
/* rgb */ color: rgb(121, 116, 206);
/* oklch */ color: oklch(60.4% 0.134 284.1);
Tailwind
colors: {
  custom: {
    50: '#a39cdd',
    500: '#7974ce',
    950: '#000000',
  },
}
SCSS
$custom: #7974ce;
$custom-light: #a39cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7974ce",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 243.333,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.13418,
    "h": 284.1
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#7974CE
secondary
#DDDFBF
accent
#BB2AB3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7974CE

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

Preview Lab → · Contrast checker → · Palette generator →

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