#7962F8#7962F8

#7962F8 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.0% C 0.214 H 284.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7962F8
RGBrgb(121, 98, 248)
HSLhsl(249, 91%, 68%)
HSVhsv(249, 60%, 97%)
CMYKcmyk(51.2%, 60.5%, 0%, 2.7%)
CIE-LABlab(51.35, 47.02, -72.28)
CIE-LCHlch(51.35, 86.23, 303.05°)
OKLaboklab(60.03% 0.0552 -0.2072)
OKLCHoklch(60.03% 0.214 284.9)
XYZxyz(29.1910, 19.5761, 91.0292)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962F8 #E1F862
analogous
#6296F8 #7962F8 #C462F8
triadic
#7962F8 #F87962 #62F879
tetradic
#7962F8 #F86296 #E1F862 #62F8C4
square
#7962F8 #F86296 #E1F862 #62F8C4
split-complementary
#7962F8 #F8C462 #96F862
monochromatic
#290AD6 #4727F5 #7962F8 #AB9DFB #DDD7FD

Accessibility & contrast

On white

4.27
#7962F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7962F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962F8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962F8#FFFFFF#000000##000000
##7962F81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#4786A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7962f8;
/* rgb */ color: rgb(121, 98, 248);
/* oklch */ color: oklch(60.0% 0.214 284.9);
Tailwind
colors: {
  custom: {
    50: '#a990fc',
    500: '#7962f8',
    950: '#000000',
  },
}
SCSS
$custom: #7962f8;
$custom-light: #a990fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7962f8",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 249.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60034,
    "c": 0.2144,
    "h": 284.9
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#7962F8
secondary
#EBF2C4
accent
#E600C2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7962F8

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

Preview Lab → · Contrast checker → · Palette generator →

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