#7974CD#7974CD

#7974CD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.133 H 284.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7974CD
RGBrgb(121, 116, 205)
HSLhsl(243, 47%, 63%)
HSVhsv(243, 43%, 80%)
CMYKcmyk(41%, 43.4%, 0%, 19.6%)
CIE-LABlab(52.91, 23.97, -45.59)
CIE-LCHlch(52.91, 51.50, 297.73°)
OKLaboklab(60.34% 0.0326 -0.1287)
OKLCHoklch(60.34% 0.133 284.2)
XYZxyz(25.1468, 20.9625, 60.4670)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974CD #C8CD74
analogous
#749BCD #7974CD #A574CD
triadic
#7974CD #CD7974 #74CD79
tetradic
#7974CD #CD749B #C8CD74 #74CDA5
square
#7974CD #CD749B #C8CD74 #74CDA5
split-complementary
#7974CD #CDA574 #9BCD74
monochromatic
#3A3592 #4E47BD #7974CD #A4A1DD #D0CEED

Accessibility & contrast

On white

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

On black

5.19
#7974CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974CD#FFFFFF#000000##000000
##7974CD1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#608696
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7974cd;
/* rgb */ color: rgb(121, 116, 205);
/* oklch */ color: oklch(60.3% 0.133 284.2);
Tailwind
colors: {
  custom: {
    50: '#a39cdd',
    500: '#7974cd',
    950: '#000000',
  },
}
SCSS
$custom: #7974cd;
$custom-light: #a39cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7974cd",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 243.371,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60341,
    "c": 0.13276,
    "h": 284.2
  },
  "luminance": 0.20964
}

Semantic roles & 50–950 ramp

primary
#7974CD
secondary
#DDDEBE
accent
#BA2BB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7974CD

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

Preview Lab → · Contrast checker → · Palette generator →

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