#7974CB#7974CB

#7974CB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.130 H 284.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7974CB
RGBrgb(121, 116, 203)
HSLhsl(243, 46%, 63%)
HSVhsv(243, 43%, 80%)
CMYKcmyk(40.4%, 42.9%, 0%, 20.4%)
CIE-LABlab(52.80, 23.40, -44.61)
CIE-LCHlch(52.80, 50.38, 297.67°)
OKLaboklab(60.23% 0.0323 -0.1258)
OKLCHoklch(60.23% 0.13 284.4)
XYZxyz(24.9070, 20.8666, 59.2037)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974CB #C6CB74
analogous
#749BCB #7974CB #A474CB
triadic
#7974CB #CB7974 #74CB79
tetradic
#7974CB #CB749B #C6CB74 #74CBA4
square
#7974CB #CB749B #C6CB74 #74CBA4
split-complementary
#7974CB #CBA474 #9BCB74
monochromatic
#3B368F #4E47BA #7974CB #A4A1DC #CFCDEC

Accessibility & contrast

On white

4.06
#7974CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7974CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974CB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974CB#FFFFFF#000000##000000
##7974CB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#618596
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7974cb;
/* rgb */ color: rgb(121, 116, 203);
/* oklch */ color: oklch(60.2% 0.130 284.4);
Tailwind
colors: {
  custom: {
    50: '#a39cdb',
    500: '#7974cb',
    950: '#000000',
  },
}
SCSS
$custom: #7974cb;
$custom-light: #a39cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7974cb",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 243.448,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.12993,
    "h": 284.4
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#7974CB
secondary
#DBDDBE
accent
#B92DB1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7974CB

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

Preview Lab → · Contrast checker → · Palette generator →

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