#7976F8#7976F8

#7976F8 is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.4% C 0.189 H 280.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7976F8
RGBrgb(121, 118, 248)
HSLhsl(241, 90%, 72%)
HSVhsv(241, 52%, 97%)
CMYKcmyk(51.2%, 52.4%, 0%, 2.7%)
CIE-LABlab(55.88, 35.44, -64.96)
CIE-LCHlch(55.88, 73.99, 298.62°)
OKLaboklab(63.39% 0.0347 -0.1855)
OKLCHoklch(63.39% 0.189 280.6)
XYZxyz(31.3016, 23.7973, 91.7327)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976F8 #F5F876
analogous
#76B4F8 #7976F8 #BA76F8
triadic
#7976F8 #F87976 #76F879
tetradic
#7976F8 #F876B4 #F5F876 #76F8BA
square
#7976F8 #F876B4 #F5F876 #76F8BA
split-complementary
#7976F8 #F8BA76 #B4F876
monochromatic
#110CE8 #403CF5 #7976F8 #B2B0FB #E3E2FE

Accessibility & contrast

On white

3.65
#7976F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7976F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976F8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976F8#FFFFFF#000000##000000
##7976F81.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFD
Deuteranopia (green-blind)
#1D81F5
Tritanopia (blue-blind)
#4493AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7976f8;
/* rgb */ color: rgb(121, 118, 248);
/* oklch */ color: oklch(63.4% 0.189 280.6);
Tailwind
colors: {
  custom: {
    50: '#a89dfb',
    500: '#7976f8',
    950: '#000000',
  },
}
SCSS
$custom: #7976f8;
$custom-light: #a89dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7976f8",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 241.385,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63385,
    "c": 0.18874,
    "h": 280.6
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#7976F8
secondary
#F5F5D4
accent
#E600E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976F8

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

Preview Lab → · Contrast checker → · Palette generator →

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