#7962FA#7962FA

#7962FA is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 60.2% C 0.217 H 284.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7962FA
RGBrgb(121, 98, 250)
HSLhsl(249, 94%, 68%)
HSVhsv(249, 61%, 98%)
CMYKcmyk(51.6%, 60.8%, 0%, 2%)
CIE-LABlab(51.50, 47.61, -73.16)
CIE-LCHlch(51.50, 87.29, 303.05°)
OKLaboklab(60.18% 0.0551 -0.2098)
OKLCHoklch(60.18% 0.217 284.7)
XYZxyz(29.5030, 19.7009, 92.6720)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7962FA #E3FA62
analogous
#6297FA #7962FA #C562FA
triadic
#7962FA #FA7962 #62FA79
tetradic
#7962FA #FA6297 #E3FA62 #62FAC5
square
#7962FA #FA6297 #E3FA62 #62FAC5
split-complementary
#7962FA #FAC562 #97FA62
monochromatic
#2707DB #4627F8 #7962FA #AC9DFC #DED9FE

Accessibility & contrast

On white

4.25
#7962FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7962FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7962FA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7962FA#FFFFFF#000000##000000
##7962FA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#4586A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7962fa;
/* rgb */ color: rgb(121, 98, 250);
/* oklch */ color: oklch(60.2% 0.217 284.7);
Tailwind
colors: {
  custom: {
    50: '#a990fd',
    500: '#7962fa',
    950: '#000000',
  },
}
SCSS
$custom: #7962fa;
$custom-light: #a990fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7962fa",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 249.079,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60183,
    "c": 0.21688,
    "h": 284.7
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7962FA

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

Preview Lab → · Contrast checker → · Palette generator →

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