#7976E7#7976E7

#7976E7 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.3% C 0.166 H 281.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7976E7
RGBrgb(121, 118, 231)
HSLhsl(242, 70%, 68%)
HSVhsv(242, 49%, 91%)
CMYKcmyk(47.6%, 48.9%, 0%, 9.4%)
CIE-LABlab(54.86, 30.35, -57.15)
CIE-LCHlch(54.86, 64.71, 297.98°)
OKLaboklab(62.28% 0.0335 -0.1626)
OKLCHoklch(62.28% 0.166 281.6)
XYZxyz(28.7830, 22.7899, 78.4681)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976E7 #E4E776
analogous
#76ABE7 #7976E7 #B176E7
triadic
#7976E7 #E77976 #76E779
tetradic
#7976E7 #E776AB #E4E776 #76E7B1
square
#7976E7 #E776AB #E4E776 #76E7B1
split-complementary
#7976E7 #E7B176 #ABE776
monochromatic
#2622C1 #4642DE #7976E7 #ACAAF0 #DFDEF9

Accessibility & contrast

On white

3.78
#7976E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7976E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976E7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976E7#FFFFFF#000000##000000
##7976E71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EB
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#518EA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7976e7;
/* rgb */ color: rgb(121, 118, 231);
/* oklch */ color: oklch(62.3% 0.166 281.6);
Tailwind
colors: {
  custom: {
    50: '#a69def',
    500: '#7976e7',
    950: '#000000',
  },
}
SCSS
$custom: #7976e7;
$custom-light: #a69def;
$custom-dark: #000000;
JSON
{
  "hex": "#7976e7",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 241.593,
    "s": 70.186,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62282,
    "c": 0.16598,
    "h": 281.6
  },
  "luminance": 0.22791
}

Semantic roles & 50–950 ramp

primary
#7976E7
secondary
#ECEDCB
accent
#D213CD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7976E7

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

Preview Lab → · Contrast checker → · Palette generator →

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