#7977E8#7977E8

#7977E8 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.5% C 0.166 H 281.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7977E8
RGBrgb(121, 119, 232)
HSLhsl(241, 71%, 69%)
HSVhsv(241, 49%, 91%)
CMYKcmyk(47.8%, 48.7%, 0%, 9%)
CIE-LABlab(55.16, 30.06, -57.22)
CIE-LCHlch(55.16, 64.64, 297.71°)
OKLaboklab(62.53% 0.0324 -0.1628)
OKLCHoklch(62.53% 0.166 281.3)
XYZxyz(29.0431, 23.0833, 79.2535)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977E8 #E6E877
analogous
#77AEE8 #7977E8 #B277E8
triadic
#7977E8 #E87977 #77E879
tetradic
#7977E8 #E877AE #E6E877 #77E8B2
square
#7977E8 #E877AE #E6E877 #77E8B2
split-complementary
#7977E8 #E8B277 #AEE877
monochromatic
#2421C4 #4543DF #7977E8 #ADABF1 #E0E0FA

Accessibility & contrast

On white

3.74
#7977E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7977E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977E8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977E8#FFFFFF#000000##000000
##7977E81.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EC
Deuteranopia (green-blind)
#3C80E6
Tritanopia (blue-blind)
#518FA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7977e8;
/* rgb */ color: rgb(121, 119, 232);
/* oklch */ color: oklch(62.5% 0.166 281.3);
Tailwind
colors: {
  custom: {
    50: '#a69ef0',
    500: '#7977e8',
    950: '#000000',
  },
}
SCSS
$custom: #7977e8;
$custom-light: #a69ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7977e8",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 241.062,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62529,
    "c": 0.16598,
    "h": 281.3
  },
  "luminance": 0.23085
}

Semantic roles & 50–950 ramp

primary
#7977E8
secondary
#EEEECD
accent
#D312D0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7977E8

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

Preview Lab → · Contrast checker → · Palette generator →

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