#7977CA#7977CA

#7977CA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.124 H 283.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7977CA
RGBrgb(121, 119, 202)
HSLhsl(241, 44%, 63%)
HSVhsv(241, 41%, 79%)
CMYKcmyk(40.1%, 41.1%, 0%, 20.8%)
CIE-LABlab(53.52, 21.32, -42.92)
CIE-LCHlch(53.52, 47.92, 296.41°)
OKLaboklab(60.75% 0.0283 -0.1209)
OKLCHoklch(60.75% 0.124 283.2)
XYZxyz(25.1396, 21.5219, 58.6952)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977CA #C8CA77
analogous
#779ECA #7977CA #A277CA
triadic
#7977CA #CA7977 #77CA79
tetradic
#7977CA #CA779E #C8CA77 #77CAA2
square
#7977CA #CA779E #C8CA77 #77CAA2
split-complementary
#7977CA #CAA277 #9ECA77
monochromatic
#3A388F #4E4BB9 #7977CA #A4A3DB #D0CFEC

Accessibility & contrast

On white

3.96
#7977CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7977CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977CA#FFFFFF#000000##000000
##7977CA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#618797
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7977ca;
/* rgb */ color: rgb(121, 119, 202);
/* oklch */ color: oklch(60.8% 0.124 283.2);
Tailwind
colors: {
  custom: {
    50: '#a39eda',
    500: '#7977ca',
    950: '#000000',
  },
}
SCSS
$custom: #7977ca;
$custom-light: #a39eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7977ca",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 241.446,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.12415,
    "h": 283.2
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#7977CA
secondary
#DDDDBF
accent
#B72EB4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7977CA

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

Preview Lab → · Contrast checker → · Palette generator →

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