#7977DC#7977DC

#7977DC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.149 H 282.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7977DC
RGBrgb(121, 119, 220)
HSLhsl(241, 59%, 66%)
HSVhsv(241, 46%, 86%)
CMYKcmyk(45%, 45.9%, 0%, 13.7%)
CIE-LABlab(54.47, 26.51, -51.58)
CIE-LCHlch(54.47, 58.00, 297.20°)
OKLaboklab(61.79% 0.0311 -0.1462)
OKLCHoklch(61.79% 0.149 282)
XYZxyz(27.3964, 22.4246, 70.5811)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977DC #DADC77
analogous
#77A8DC #7977DC #AC77DC
triadic
#7977DC #DC7977 #77DC79
tetradic
#7977DC #DC77A8 #DADC77 #77DCAC
square
#7977DC #DC77A8 #DADC77 #77DCAC
split-complementary
#7977DC #DCAC77 #A8DC77
monochromatic
#2F2CAC #4946CF #7977DC #A9A8E9 #D9D8F5

Accessibility & contrast

On white

3.83
#7977DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7977DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977DC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977DC#FFFFFF#000000##000000
##7977DC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#588C9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7977dc;
/* rgb */ color: rgb(121, 119, 220);
/* oklch */ color: oklch(61.8% 0.149 282.0);
Tailwind
colors: {
  custom: {
    50: '#a59ee7',
    500: '#7977dc',
    950: '#000000',
  },
}
SCSS
$custom: #7977dc;
$custom-light: #a59ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7977dc",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 241.188,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.14949,
    "h": 282
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#7977DC
secondary
#E7E8C7
accent
#C71FC3
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7977DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7977DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva