#7962F4#7962F4

#7962F4 is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.7% C 0.209 H 285.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7962F4
RGBrgb(121, 98, 244)
HSLhsl(249, 87%, 67%)
HSVhsv(249, 60%, 96%)
CMYKcmyk(50.4%, 59.8%, 0%, 4.3%)
CIE-LABlab(51.07, 45.86, -70.51)
CIE-LCHlch(51.07, 84.11, 303.04°)
OKLaboklab(59.74% 0.0554 -0.202)
OKLCHoklch(59.74% 0.209 285.3)
XYZxyz(28.5771, 19.3305, 87.7958)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962F4 #DDF462
analogous
#6294F4 #7962F4 #C262F4
triadic
#7962F4 #F47962 #62F479
tetradic
#7962F4 #F46294 #DDF462 #62F4C2
square
#7962F4 #F46294 #DDF462 #62F4C2
split-complementary
#7962F4 #F4C262 #94F462
monochromatic
#2C0ECD #4829F0 #7962F4 #AA9BF8 #DBD4FC

Accessibility & contrast

On white

4.32
#7962F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7962F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962F4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962F4#FFFFFF#000000##000000
##7962F41.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#4A84A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7962f4;
/* rgb */ color: rgb(121, 98, 244);
/* oklch */ color: oklch(59.7% 0.209 285.3);
Tailwind
colors: {
  custom: {
    50: '#a98ff9',
    500: '#7962f4',
    950: '#000000',
  },
}
SCSS
$custom: #7962f4;
$custom-light: #a98ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7962f4",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 249.452,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.20944,
    "h": 285.3
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#7962F4
secondary
#E9F0C2
accent
#E302C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7962F4

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

Preview Lab → · Contrast checker → · Palette generator →

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