#7977F6#7977F6

#7977F6 is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.4% C 0.185 H 280.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7977F6
RGBrgb(121, 119, 246)
HSLhsl(241, 88%, 72%)
HSVhsv(241, 52%, 96%)
CMYKcmyk(50.8%, 51.6%, 0%, 3.5%)
CIE-LABlab(56.00, 34.25, -63.66)
CIE-LCHlch(56.00, 72.29, 298.28°)
OKLaboklab(63.43% 0.0335 -0.1817)
OKLCHoklch(63.43% 0.185 280.5)
XYZxyz(31.1114, 23.9106, 90.1468)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977F6 #F4F677
analogous
#77B5F6 #7977F6 #B977F6
triadic
#7977F6 #F67977 #77F679
tetradic
#7977F6 #F677B5 #F4F677 #77F6B9
square
#7977F6 #F677B5 #F4F677 #77F6B9
split-complementary
#7977F6 #F6B977 #B5F677
monochromatic
#120FE4 #403EF2 #7977F6 #B2B0FA #E3E2FD

Accessibility & contrast

On white

3.63
#7977F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7977F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977F6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977F6#FFFFFF#000000##000000
##7977F61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFA
Deuteranopia (green-blind)
#2581F3
Tritanopia (blue-blind)
#4693AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7977f6;
/* rgb */ color: rgb(121, 119, 246);
/* oklch */ color: oklch(63.4% 0.185 280.5);
Tailwind
colors: {
  custom: {
    50: '#a89efa',
    500: '#7977f6',
    950: '#000000',
  },
}
SCSS
$custom: #7977f6;
$custom-light: #a89efa;
$custom-dark: #000000;
JSON
{
  "hex": "#7977f6",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 240.945,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6343,
    "c": 0.18479,
    "h": 280.5
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

primary
#7977F6
secondary
#F4F5D4
accent
#E401E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7977F6

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

Preview Lab → · Contrast checker → · Palette generator →

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