#7962EE#7962EE

#7962EE is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.3% C 0.202 H 286.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7962EE
RGBrgb(121, 98, 238)
HSLhsl(250, 80%, 66%)
HSVhsv(250, 59%, 93%)
CMYKcmyk(49.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(50.65, 44.12, -67.83)
CIE-LCHlch(50.65, 80.92, 303.04°)
OKLaboklab(59.3% 0.0557 -0.1941)
OKLCHoklch(59.3% 0.202 286)
XYZxyz(27.6809, 18.9720, 83.0758)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962EE #D7EE62
analogous
#6291EE #7962EE #BF62EE
triadic
#7962EE #EE7962 #62EE79
tetradic
#7962EE #EE6291 #D7EE62 #62EEBF
square
#7962EE #EE6291 #D7EE62 #62EEBF
split-complementary
#7962EE #EEBF62 #91EE62
monochromatic
#3115C1 #4A2BE8 #7962EE #A899F4 #D7D0FA

Accessibility & contrast

On white

4.38
#7962EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7962EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962EE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962EE#FFFFFF#000000##000000
##7962EE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#4F829F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7962ee;
/* rgb */ color: rgb(121, 98, 238);
/* oklch */ color: oklch(59.3% 0.202 286.0);
Tailwind
colors: {
  custom: {
    50: '#a88ff4',
    500: '#7962ee',
    950: '#000000',
  },
}
SCSS
$custom: #7962ee;
$custom-light: #a88ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7962ee",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 249.857,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.593,
    "c": 0.20192,
    "h": 286
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#7962EE
secondary
#E5EDBF
accent
#DD09BA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7962EE

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

Preview Lab → · Contrast checker → · Palette generator →

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