#7960FE#7960FE

#7960FE is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 60.2% C 0.224 H 284.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7960FE
RGBrgb(121, 96, 254)
HSLhsl(249, 99%, 69%)
HSVhsv(249, 62%, 100%)
CMYKcmyk(52.4%, 62.2%, 0%, 0.4%)
CIE-LABlab(51.36, 49.89, -75.60)
CIE-LCHlch(51.36, 90.58, 303.42°)
OKLaboklab(60.18% 0.0567 -0.2169)
OKLCHoklch(60.18% 0.224 284.7)
XYZxyz(29.9520, 19.5848, 95.9487)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960FE #E5FE60
analogous
#6096FE #7960FE #C860FE
triadic
#7960FE #FE7960 #60FE79
tetradic
#7960FE #FE6096 #E5FE60 #60FEC8
square
#7960FE #FE6096 #E5FE60 #60FEC8
split-complementary
#7960FE #FEC860 #96FE60
monochromatic
#2501E2 #4623FE #7960FE #AC9DFE #E0DAFF

Accessibility & contrast

On white

4.27
#7960FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7960FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960FE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960FE#FFFFFF#000000##000000
##7960FE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#4286A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7960fe;
/* rgb */ color: rgb(121, 96, 254);
/* oklch */ color: oklch(60.2% 0.224 284.7);
Tailwind
colors: {
  custom: {
    50: '#aa8eff',
    500: '#7960fe',
    950: '#000000',
  },
}
SCSS
$custom: #7960fe;
$custom-light: #aa8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7960fe",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 254
  },
  "hsl": {
    "h": 249.494,
    "s": 98.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60178,
    "c": 0.22422,
    "h": 284.7
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#7960FE
secondary
#EDF4C5
accent
#E600C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7960FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7960FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva