#7962F2#7962F2

#7962F2 is a mid, highly saturated blue. Relative luminance 0.192; OKLCH L 59.6% C 0.207 H 285.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7962F2
RGBrgb(121, 98, 242)
HSLhsl(250, 85%, 67%)
HSVhsv(250, 60%, 95%)
CMYKcmyk(50%, 59.5%, 0%, 5.1%)
CIE-LABlab(50.93, 45.28, -69.62)
CIE-LCHlch(50.93, 83.05, 303.04°)
OKLaboklab(59.59% 0.0555 -0.1993)
OKLCHoklch(59.59% 0.207 285.6)
XYZxyz(28.2751, 19.2097, 86.2052)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962F2 #DBF262
analogous
#6293F2 #7962F2 #C162F2
triadic
#7962F2 #F27962 #62F279
tetradic
#7962F2 #F26293 #DBF262 #62F2C1
square
#7962F2 #F26293 #DBF262 #62F2C1
split-complementary
#7962F2 #F2C162 #93F262
monochromatic
#2E11C9 #4929ED #7962F2 #A99BF7 #D9D3FB

Accessibility & contrast

On white

4.34
#7962F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7962F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962F2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962F2#FFFFFF#000000##000000
##7962F21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#4C84A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7962f2;
/* rgb */ color: rgb(121, 98, 242);
/* oklch */ color: oklch(59.6% 0.207 285.6);
Tailwind
colors: {
  custom: {
    50: '#a88ff7',
    500: '#7962f2',
    950: '#000000',
  },
}
SCSS
$custom: #7962f2;
$custom-light: #a88ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#7962f2",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 249.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.20694,
    "h": 285.6
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#7962F2
secondary
#E8EFC1
accent
#E104BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7962F2

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

Preview Lab → · Contrast checker → · Palette generator →

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