#7976F5#7976F5

#7976F5 is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.2% C 0.185 H 280.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7976F5
RGBrgb(121, 118, 245)
HSLhsl(241, 86%, 71%)
HSVhsv(241, 52%, 96%)
CMYKcmyk(50.6%, 51.8%, 0%, 3.9%)
CIE-LABlab(55.70, 34.54, -63.59)
CIE-LCHlch(55.70, 72.37, 298.51°)
OKLaboklab(63.19% 0.0345 -0.1815)
OKLCHoklch(63.19% 0.185 280.8)
XYZxyz(30.8400, 23.6126, 89.3011)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976F5 #F2F576
analogous
#76B2F5 #7976F5 #B876F5
triadic
#7976F5 #F57976 #76F579
tetradic
#7976F5 #F576B2 #F2F576 #76F5B8
square
#7976F5 #F576B2 #F2F576 #76F5B8
split-complementary
#7976F5 #F5B876 #B2F576
monochromatic
#1510E0 #413DF1 #7976F5 #B1AFF9 #E3E2FD

Accessibility & contrast

On white

3.67
#7976F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7976F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976F5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976F5#FFFFFF#000000##000000
##7976F51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AF9
Deuteranopia (green-blind)
#2481F2
Tritanopia (blue-blind)
#4792AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7976f5;
/* rgb */ color: rgb(121, 118, 245);
/* oklch */ color: oklch(63.2% 0.185 280.8);
Tailwind
colors: {
  custom: {
    50: '#a89df9',
    500: '#7976f5',
    950: '#000000',
  },
}
SCSS
$custom: #7976f5;
$custom-light: #a89df9;
$custom-dark: #000000;
JSON
{
  "hex": "#7976f5",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 241.417,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63186,
    "c": 0.18477,
    "h": 280.8
  },
  "luminance": 0.23614
}

Semantic roles & 50–950 ramp

primary
#7976F5
secondary
#F3F4D3
accent
#E303DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976F5

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

Preview Lab → · Contrast checker → · Palette generator →

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