#7977DB#7977DB

#7977DB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.148 H 282.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7977DB
RGBrgb(121, 119, 219)
HSLhsl(241, 58%, 66%)
HSVhsv(241, 46%, 86%)
CMYKcmyk(44.7%, 45.7%, 0%, 14.1%)
CIE-LABlab(54.42, 26.22, -51.11)
CIE-LCHlch(54.42, 57.44, 297.16°)
OKLaboklab(61.73% 0.0309 -0.1448)
OKLCHoklch(61.73% 0.148 282.1)
XYZxyz(27.2644, 22.3718, 69.8857)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977DB #D9DB77
analogous
#77A7DB #7977DB #AB77DB
triadic
#7977DB #DB7977 #77DB79
tetradic
#7977DB #DB77A7 #D9DB77 #77DBAB
square
#7977DB #DB77A7 #D9DB77 #77DBAB
split-complementary
#7977DB #DBAB77 #A7DB77
monochromatic
#302DAA #4947CE #7977DB #A9A7E8 #D8D8F5

Accessibility & contrast

On white

3.84
#7977DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7977DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977DB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977DB#FFFFFF#000000##000000
##7977DB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#598C9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7977db;
/* rgb */ color: rgb(121, 119, 219);
/* oklch */ color: oklch(61.7% 0.148 282.1);
Tailwind
colors: {
  custom: {
    50: '#a59ee7',
    500: '#7977db',
    950: '#000000',
  },
}
SCSS
$custom: #7977db;
$custom-light: #a59ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7977db",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 241.2,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.14811,
    "h": 282.1
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#7977DB
secondary
#E7E7C7
accent
#C620C2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7977DB

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

Preview Lab → · Contrast checker → · Palette generator →

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