#7962EF#7962EF

#7962EF is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.4% C 0.203 H 285.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7962EF
RGBrgb(121, 98, 239)
HSLhsl(250, 82%, 66%)
HSVhsv(250, 59%, 94%)
CMYKcmyk(49.4%, 59%, 0%, 6.3%)
CIE-LABlab(50.72, 44.41, -68.28)
CIE-LCHlch(50.72, 81.45, 303.04°)
OKLaboklab(59.37% 0.0556 -0.1954)
OKLCHoklch(59.37% 0.203 285.9)
XYZxyz(27.8282, 19.0310, 83.8516)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962EF #D8EF62
analogous
#6291EF #7962EF #BF62EF
triadic
#7962EF #EF7962 #62EF79
tetradic
#7962EF #EF6291 #D8EF62 #62EFBF
square
#7962EF #EF6291 #D8EF62 #62EFBF
split-complementary
#7962EF #EFBF62 #91EF62
monochromatic
#3014C3 #4A2AE9 #7962EF #A89AF5 #D8D1FA

Accessibility & contrast

On white

4.37
#7962EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7962EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962EF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962EF#FFFFFF#000000##000000
##7962EF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#4E839F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7962ef;
/* rgb */ color: rgb(121, 98, 239);
/* oklch */ color: oklch(59.4% 0.203 285.9);
Tailwind
colors: {
  custom: {
    50: '#a88ff5',
    500: '#7962ef',
    950: '#000000',
  },
}
SCSS
$custom: #7962ef;
$custom-light: #a88ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7962ef",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 249.787,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.20318,
    "h": 285.9
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#7962EF
secondary
#E6EEBF
accent
#DE08BB
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7962EF

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

Preview Lab → · Contrast checker → · Palette generator →

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