#7977F8#7977F8

#7977F8 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.6% C 0.187 H 280.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7977F8
RGBrgb(121, 119, 248)
HSLhsl(241, 90%, 72%)
HSVhsv(241, 52%, 97%)
CMYKcmyk(51.2%, 52%, 0%, 2.7%)
CIE-LABlab(56.12, 34.85, -64.57)
CIE-LCHlch(56.12, 73.38, 298.36°)
OKLaboklab(63.56% 0.0336 -0.1844)
OKLCHoklch(63.56% 0.187 280.3)
XYZxyz(31.4200, 24.0341, 91.7722)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977F8 #F6F877
analogous
#77B6F8 #7977F8 #BA77F8
triadic
#7977F8 #F87977 #77F879
tetradic
#7977F8 #F877B6 #F6F877 #77F8BA
square
#7977F8 #F877B6 #F6F877 #77F8BA
split-complementary
#7977F8 #F8BA77 #B6F877
monochromatic
#0F0CE9 #403DF5 #7977F8 #B2B1FB #E2E2FE

Accessibility & contrast

On white

3.62
#7977F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7977F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977F8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977F8#FFFFFF#000000##000000
##7977F81.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFD
Deuteranopia (green-blind)
#2182F5
Tritanopia (blue-blind)
#4494AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7977f8;
/* rgb */ color: rgb(121, 119, 248);
/* oklch */ color: oklch(63.6% 0.187 280.3);
Tailwind
colors: {
  custom: {
    50: '#a89efb',
    500: '#7977f8',
    950: '#000000',
  },
}
SCSS
$custom: #7977f8;
$custom-light: #a89efb;
$custom-dark: #000000;
JSON
{
  "hex": "#7977f8",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 240.93,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.63562,
    "c": 0.18743,
    "h": 280.3
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#7977F8
secondary
#F5F6D5
accent
#E600E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7977F8

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

Preview Lab → · Contrast checker → · Palette generator →

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