#7974B7#7974B7

#7974B7 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 59.1% C 0.101 H 286.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7974B7
RGBrgb(121, 116, 183)
HSLhsl(244, 32%, 59%)
HSVhsv(244, 37%, 72%)
CMYKcmyk(33.9%, 36.6%, 0%, 28.2%)
CIE-LABlab(51.81, 17.83, -34.72)
CIE-LCHlch(51.81, 39.03, 297.18°)
OKLaboklab(59.14% 0.0284 -0.0971)
OKLCHoklch(59.14% 0.101 286.3)
XYZxyz(22.6755, 19.9740, 47.4512)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974B7 #B2B774
analogous
#7490B7 #7974B7 #9A74B7
triadic
#7974B7 #B77974 #74B779
tetradic
#7974B7 #B77490 #B2B774 #74B79A
square
#7974B7 #B77490 #B2B774 #74B79A
split-complementary
#7974B7 #B79A74 #90B774
monochromatic
#403C74 #57519D #7974B7 #A09CCC #C7C5E1

Accessibility & contrast

On white

4.20
#7974B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7974B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974B7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974B7#FFFFFF#000000##000000
##7974B71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DBA
Deuteranopia (green-blind)
#5E7AB5
Tritanopia (blue-blind)
#69808D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7974b7;
/* rgb */ color: rgb(121, 116, 183);
/* oklch */ color: oklch(59.1% 0.101 286.3);
Tailwind
colors: {
  custom: {
    50: '#a29ccd',
    500: '#7974b7',
    950: '#000000',
  },
}
SCSS
$custom: #7974b7;
$custom-light: #a29ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#7974b7",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 183
  },
  "hsl": {
    "h": 244.478,
    "s": 31.754,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.10114,
    "h": 286.3
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#7974B7
secondary
#CFD1B6
accent
#C860C0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7974B7

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

Preview Lab → · Contrast checker → · Palette generator →

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