#7974DF#7974DF

#7974DF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.158 H 282.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7974DF
RGBrgb(121, 116, 223)
HSLhsl(243, 63%, 66%)
HSVhsv(243, 48%, 87%)
CMYKcmyk(45.7%, 48%, 0%, 12.5%)
CIE-LABlab(53.90, 29.18, -54.19)
CIE-LCHlch(53.90, 61.54, 298.31°)
OKLaboklab(61.42% 0.035 -0.1539)
OKLCHoklch(61.42% 0.158 282.8)
XYZxyz(27.4459, 21.8822, 72.5753)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974DF #DADF74
analogous
#74A5DF #7974DF #AF74DF
triadic
#7974DF #DF7974 #74DF79
tetradic
#7974DF #DF74A5 #DADF74 #74DFAF
square
#7974DF #DF74A5 #DADF74 #74DFAF
split-complementary
#7974DF #DFAF74 #A5DF74
monochromatic
#2F29B0 #4942D4 #7974DF #A9A6EA #D9D7F6

Accessibility & contrast

On white

3.91
#7974DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7974DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974DF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974DF#FFFFFF#000000##000000
##7974DF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#417DDD
Tritanopia (blue-blind)
#578B9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7974df;
/* rgb */ color: rgb(121, 116, 223);
/* oklch */ color: oklch(61.4% 0.158 282.8);
Tailwind
colors: {
  custom: {
    50: '#a59ce9',
    500: '#7974df',
    950: '#000000',
  },
}
SCSS
$custom: #7974df;
$custom-light: #a59ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7974df",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 242.804,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61415,
    "c": 0.15781,
    "h": 282.8
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#7974DF
secondary
#E7E9C6
accent
#CA1BC2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7974DF

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

Preview Lab → · Contrast checker → · Palette generator →

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