#7974BC#7974BC

#7974BC is a mid, moderate blue. Relative luminance 0.202; OKLCH L 59.4% C 0.108 H 285.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7974BC
RGBrgb(121, 116, 188)
HSLhsl(244, 35%, 60%)
HSVhsv(244, 38%, 74%)
CMYKcmyk(35.6%, 38.3%, 0%, 26.3%)
CIE-LABlab(52.05, 19.20, -37.23)
CIE-LCHlch(52.05, 41.88, 297.28°)
OKLaboklab(59.4% 0.0295 -0.1043)
OKLCHoklch(59.4% 0.108 285.8)
XYZxyz(23.2052, 20.1859, 50.2408)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974BC #B7BC74
analogous
#7493BC #7974BC #9D74BC
triadic
#7974BC #BC7974 #74BC79
tetradic
#7974BC #BC7493 #B7BC74 #74BC9D
square
#7974BC #BC7493 #B7BC74 #74BC9D
split-complementary
#7974BC #BC9D74 #93BC74
monochromatic
#3F3B7B #554FA4 #7974BC #A19DD0 #C9C7E4

Accessibility & contrast

On white

4.17
#7974BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7974BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974BC#FFFFFF#000000##000000
##7974BC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#5C7ABA
Tritanopia (blue-blind)
#67828F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7974bc;
/* rgb */ color: rgb(121, 116, 188);
/* oklch */ color: oklch(59.4% 0.108 285.8);
Tailwind
colors: {
  custom: {
    50: '#a29cd0',
    500: '#7974bc',
    950: '#000000',
  },
}
SCSS
$custom: #7974bc;
$custom-light: #a29cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7974bc",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 244.167,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59404,
    "c": 0.10842,
    "h": 285.8
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#7974BC
secondary
#D2D4B8
accent
#CB5DC3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7974BC

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

Preview Lab → · Contrast checker → · Palette generator →

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