#7962F1#7962F1

#7962F1 is a mid, highly saturated blue. Relative luminance 0.192; OKLCH L 59.5% C 0.206 H 285.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7962F1
RGBrgb(121, 98, 241)
HSLhsl(250, 84%, 66%)
HSVhsv(250, 59%, 95%)
CMYKcmyk(49.8%, 59.3%, 0%, 5.5%)
CIE-LABlab(50.86, 44.99, -69.18)
CIE-LCHlch(50.86, 82.52, 303.04°)
OKLaboklab(59.52% 0.0556 -0.198)
OKLCHoklch(59.52% 0.206 285.7)
XYZxyz(28.1253, 19.1498, 85.4163)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962F1 #DAF162
analogous
#6293F1 #7962F1 #C162F1
triadic
#7962F1 #F17962 #62F179
tetradic
#7962F1 #F16293 #DAF162 #62F1C1
square
#7962F1 #F16293 #DAF162 #62F1C1
split-complementary
#7962F1 #F1C162 #93F162
monochromatic
#2F12C7 #492AEC #7962F1 #A99AF6 #D9D2FB

Accessibility & contrast

On white

4.35
#7962F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7962F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962F1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962F1#FFFFFF#000000##000000
##7962F11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#4D83A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7962f1;
/* rgb */ color: rgb(121, 98, 241);
/* oklch */ color: oklch(59.5% 0.206 285.7);
Tailwind
colors: {
  custom: {
    50: '#a88ff7',
    500: '#7962f1',
    950: '#000000',
  },
}
SCSS
$custom: #7962f1;
$custom-light: #a88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7962f1",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 249.65,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.20569,
    "h": 285.7
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

primary
#7962F1
secondary
#E7EFC0
accent
#E005BD
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7962F1

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

Preview Lab → · Contrast checker → · Palette generator →

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