#7962F5#7962F5

#7962F5 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.8% C 0.211 H 285.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7962F5
RGBrgb(121, 98, 245)
HSLhsl(249, 88%, 67%)
HSVhsv(249, 60%, 96%)
CMYKcmyk(50.6%, 60%, 0%, 3.9%)
CIE-LABlab(51.14, 46.15, -70.95)
CIE-LCHlch(51.14, 84.64, 303.04°)
OKLaboklab(59.81% 0.0554 -0.2033)
OKLCHoklch(59.81% 0.211 285.2)
XYZxyz(28.7294, 19.3914, 88.5976)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962F5 #DEF562
analogous
#6294F5 #7962F5 #C362F5
triadic
#7962F5 #F57962 #62F579
tetradic
#7962F5 #F56294 #DEF562 #62F5C3
square
#7962F5 #F56294 #DEF562 #62F5C3
split-complementary
#7962F5 #F5C362 #94F562
monochromatic
#2C0DCF #4828F1 #7962F5 #AA9CF9 #DBD5FC

Accessibility & contrast

On white

4.30
#7962F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7962F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962F5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962F5#FFFFFF#000000##000000
##7962F51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#4985A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7962f5;
/* rgb */ color: rgb(121, 98, 245);
/* oklch */ color: oklch(59.8% 0.211 285.2);
Tailwind
colors: {
  custom: {
    50: '#a990f9',
    500: '#7962f5',
    950: '#000000',
  },
}
SCSS
$custom: #7962f5;
$custom-light: #a990f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7962f5",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 249.388,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.21068,
    "h": 285.2
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#7962F5
secondary
#E9F1C2
accent
#E501C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7962F5

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

Preview Lab → · Contrast checker → · Palette generator →

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