#7977CD#7977CD

#7977CD is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.9% C 0.128 H 283.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7977CD
RGBrgb(121, 119, 205)
HSLhsl(241, 46%, 64%)
HSVhsv(241, 42%, 80%)
CMYKcmyk(41%, 42%, 0%, 19.6%)
CIE-LABlab(53.67, 22.17, -44.38)
CIE-LCHlch(53.67, 49.61, 296.55°)
OKLaboklab(60.92% 0.0288 -0.1251)
OKLCHoklch(60.92% 0.128 283)
XYZxyz(25.4983, 21.6654, 60.5841)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977CD #CBCD77
analogous
#77A0CD #7977CD #A477CD
triadic
#7977CD #CD7977 #77CD79
tetradic
#7977CD #CD77A0 #CBCD77 #77CDA4
square
#7977CD #CD77A0 #CBCD77 #77CDA4
split-complementary
#7977CD #CDA477 #A0CD77
monochromatic
#383693 #4D4ABD #7977CD #A5A4DD #D1D0EE

Accessibility & contrast

On white

3.94
#7977CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7977CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977CD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977CD#FFFFFF#000000##000000
##7977CD1.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)
#5883D0
Deuteranopia (green-blind)
#557DCB
Tritanopia (blue-blind)
#608898
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7977cd;
/* rgb */ color: rgb(121, 119, 205);
/* oklch */ color: oklch(60.9% 0.128 283.0);
Tailwind
colors: {
  custom: {
    50: '#a39edc',
    500: '#7977cd',
    950: '#000000',
  },
}
SCSS
$custom: #7977cd;
$custom-light: #a39edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7977cd",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 241.395,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.12842,
    "h": 283
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#7977CD
secondary
#DEDFC1
accent
#B92CB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7977CD

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

Preview Lab → · Contrast checker → · Palette generator →

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