#7962F3#7962F3

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

Color values

HEX#7962F3
RGBrgb(121, 98, 243)
HSLhsl(250, 86%, 67%)
HSVhsv(250, 60%, 95%)
CMYKcmyk(50.2%, 59.7%, 0%, 4.7%)
CIE-LABlab(51.00, 45.57, -70.07)
CIE-LCHlch(51.00, 83.58, 303.04°)
OKLaboklab(59.66% 0.0555 -0.2007)
OKLCHoklch(59.66% 0.208 285.5)
XYZxyz(28.4257, 19.2699, 86.9983)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962F3 #DCF362
analogous
#6294F3 #7962F3 #C162F3
triadic
#7962F3 #F37962 #62F379
tetradic
#7962F3 #F36294 #DCF362 #62F3C1
square
#7962F3 #F36294 #DCF362 #62F3C1
split-complementary
#7962F3 #F3C162 #94F362
monochromatic
#2D10CB #4829EF #7962F3 #AA9BF7 #DAD4FC

Accessibility & contrast

On white

4.33
#7962F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7962F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962F3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962F3#FFFFFF#000000##000000
##7962F31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#4B84A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7962f3;
/* rgb */ color: rgb(121, 98, 243);
/* oklch */ color: oklch(59.7% 0.208 285.5);
Tailwind
colors: {
  custom: {
    50: '#a88ff8',
    500: '#7962f3',
    950: '#000000',
  },
}
SCSS
$custom: #7962f3;
$custom-light: #a88ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#7962f3",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 249.517,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.20819,
    "h": 285.5
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#7962F3
secondary
#E8F0C1
accent
#E203BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7962F3

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

Preview Lab → · Contrast checker → · Palette generator →

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