#7974DB#7974DB

#7974DB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.2% C 0.152 H 283.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7974DB
RGBrgb(121, 116, 219)
HSLhsl(243, 59%, 66%)
HSVhsv(243, 47%, 86%)
CMYKcmyk(44.7%, 47%, 0%, 14.1%)
CIE-LABlab(53.67, 28.01, -52.30)
CIE-LCHlch(53.67, 59.33, 298.18°)
OKLaboklab(61.17% 0.0346 -0.1483)
OKLCHoklch(61.17% 0.152 283.1)
XYZxyz(26.9130, 21.6690, 69.7686)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974DB #D6DB74
analogous
#74A2DB #7974DB #AC74DB
triadic
#7974DB #DB7974 #74DB79
tetradic
#7974DB #DB74A2 #D6DB74 #74DBAC
square
#7974DB #DB74A2 #D6DB74 #74DBAC
split-complementary
#7974DB #DBAC74 #A2DB74
monochromatic
#322CA9 #4A43CE #7974DB #A8A5E8 #D7D5F4

Accessibility & contrast

On white

3.94
#7974DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7974DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974DB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974DB#FFFFFF#000000##000000
##7974DB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#59899D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7974db;
/* rgb */ color: rgb(121, 116, 219);
/* oklch */ color: oklch(61.2% 0.152 283.1);
Tailwind
colors: {
  custom: {
    50: '#a59ce7',
    500: '#7974db',
    950: '#000000',
  },
}
SCSS
$custom: #7974db;
$custom-light: #a59ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7974db",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 242.913,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.15231,
    "h": 283.1
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#7974DB
secondary
#E5E7C4
accent
#C61FBE
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7974DB

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

Preview Lab → · Contrast checker → · Palette generator →

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