#7960F4#7960F4

#7960F4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.4% C 0.212 H 285.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7960F4
RGBrgb(121, 96, 244)
HSLhsl(250, 87%, 67%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(50.4%, 60.7%, 0%, 4.3%)
CIE-LABlab(50.64, 46.99, -71.21)
CIE-LCHlch(50.64, 85.32, 303.42°)
OKLaboklab(59.42% 0.0574 -0.204)
OKLCHoklch(59.42% 0.212 285.7)
XYZxyz(28.3923, 18.9609, 87.7342)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960F4 #DBF460
analogous
#6091F4 #7960F4 #C360F4
triadic
#7960F4 #F47960 #60F479
tetradic
#7960F4 #F46091 #DBF460 #60F4C3
square
#7960F4 #F46091 #DBF460 #60F4C3
split-complementary
#7960F4 #F4C360 #91F460
monochromatic
#2E0ECC #4927F0 #7960F4 #A999F8 #D9D2FC

Accessibility & contrast

On white

4.38
#7960F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7960F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960F4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960F4#FFFFFF#000000##000000
##7960F41.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)
#007DF9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#4A83A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7960f4;
/* rgb */ color: rgb(121, 96, 244);
/* oklch */ color: oklch(59.4% 0.212 285.7);
Tailwind
colors: {
  custom: {
    50: '#a98ef9',
    500: '#7960f4',
    950: '#000000',
  },
}
SCSS
$custom: #7960f4;
$custom-light: #a98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7960f4",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 244
  },
  "hsl": {
    "h": 250.135,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.21196,
    "h": 285.7
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#7960F4
secondary
#E8F0C0
accent
#E402BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7960F4

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

Preview Lab → · Contrast checker → · Palette generator →

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