#7962FD#7962FD

#7962FD is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 60.4% C 0.221 H 284.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7962FD
RGBrgb(121, 98, 253)
HSLhsl(249, 97%, 69%)
HSVhsv(249, 61%, 99%)
CMYKcmyk(52.2%, 61.3%, 0%, 0.8%)
CIE-LABlab(51.71, 48.48, -74.48)
CIE-LCHlch(51.71, 88.86, 303.06°)
OKLaboklab(60.41% 0.0549 -0.2136)
OKLCHoklch(60.41% 0.221 284.4)
XYZxyz(29.9771, 19.8905, 95.1691)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962FD #E6FD62
analogous
#6299FD #7962FD #C762FD
triadic
#7962FD #FD7962 #62FD79
tetradic
#7962FD #FD6299 #E6FD62 #62FDC7
square
#7962FD #FD6299 #E6FD62 #62FDC7
split-complementary
#7962FD #FDC762 #99FD62
monochromatic
#2403E2 #4526FC #7962FD #AD9EFE #E0DBFF

Accessibility & contrast

On white

4.22
#7962FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7962FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962FD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962FD#FFFFFF#000000##000000
##7962FD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#4287A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7962fd;
/* rgb */ color: rgb(121, 98, 253);
/* oklch */ color: oklch(60.4% 0.221 284.4);
Tailwind
colors: {
  custom: {
    50: '#aa90ff',
    500: '#7962fd',
    950: '#000000',
  },
}
SCSS
$custom: #7962fd;
$custom-light: #aa90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7962fd",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 248.903,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.22057,
    "h": 284.4
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#7962FD
secondary
#EEF4C6
accent
#E600C3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7962FD

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

Preview Lab → · Contrast checker → · Palette generator →

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