#7976FA#7976FA

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

Color values

HEX#7976FA
RGBrgb(121, 118, 250)
HSLhsl(241, 93%, 72%)
HSVhsv(241, 53%, 98%)
CMYKcmyk(51.6%, 52.8%, 0%, 2%)
CIE-LABlab(56.01, 36.04, -65.86)
CIE-LCHlch(56.01, 75.08, 298.69°)
OKLaboklab(63.52% 0.0348 -0.1882)
OKLCHoklch(63.52% 0.191 280.5)
XYZxyz(31.6136, 23.9221, 93.3755)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976FA #F7FA76
analogous
#76B5FA #7976FA #BB76FA
triadic
#7976FA #FA7976 #76FA79
tetradic
#7976FA #FA76B5 #F7FA76 #76FABB
square
#7976FA #FA76B5 #F7FA76 #76FABB
split-complementary
#7976FA #FABB76 #B5FA76
monochromatic
#0E09ED #3F3BF8 #7976FA #B3B1FC #E2E1FE

Accessibility & contrast

On white

3.63
#7976FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7976FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976FA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976FA#FFFFFF#000000##000000
##7976FA1.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)
#2B8BFF
Deuteranopia (green-blind)
#1681F7
Tritanopia (blue-blind)
#4294AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7976fa;
/* rgb */ color: rgb(121, 118, 250);
/* oklch */ color: oklch(63.5% 0.191 280.5);
Tailwind
colors: {
  custom: {
    50: '#a89dfd',
    500: '#7976fa',
    950: '#000000',
  },
}
SCSS
$custom: #7976fa;
$custom-light: #a89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7976fa",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 241.364,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63519,
    "c": 0.19137,
    "h": 280.5
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#7976FA
secondary
#F5F6D5
accent
#E600E0
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7976FA

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

Preview Lab → · Contrast checker → · Palette generator →

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