#7976F6#7976F6

#7976F6 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.3% C 0.186 H 280.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7976F6
RGBrgb(121, 118, 246)
HSLhsl(241, 88%, 71%)
HSVhsv(241, 52%, 96%)
CMYKcmyk(50.8%, 52%, 0%, 3.5%)
CIE-LABlab(55.76, 34.84, -64.05)
CIE-LCHlch(55.76, 72.91, 298.54°)
OKLaboklab(63.25% 0.0346 -0.1829)
OKLCHoklch(63.25% 0.186 280.7)
XYZxyz(30.9930, 23.6739, 90.1073)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976F6 #F3F676
analogous
#76B3F6 #7976F6 #B976F6
triadic
#7976F6 #F67976 #76F679
tetradic
#7976F6 #F676B3 #F3F676 #76F6B9
square
#7976F6 #F676B3 #F3F676 #76F6B9
split-complementary
#7976F6 #F6B976 #B3F676
monochromatic
#140FE3 #413DF2 #7976F6 #B1AFFA #E3E2FD

Accessibility & contrast

On white

3.66
#7976F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7976F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976F6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976F6#FFFFFF#000000##000000
##7976F61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFA
Deuteranopia (green-blind)
#2281F3
Tritanopia (blue-blind)
#4693AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7976f6;
/* rgb */ color: rgb(121, 118, 246);
/* oklch */ color: oklch(63.3% 0.186 280.7);
Tailwind
colors: {
  custom: {
    50: '#a89dfa',
    500: '#7976f6',
    950: '#000000',
  },
}
SCSS
$custom: #7976f6;
$custom-light: #a89dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7976f6",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 241.406,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.18609,
    "h": 280.7
  },
  "luminance": 0.23676
}

Semantic roles & 50–950 ramp

primary
#7976F6
secondary
#F4F5D3
accent
#E401DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976F6

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

Preview Lab → · Contrast checker → · Palette generator →

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