#7960F5#7960F5

#7960F5 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.213 H 285.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7960F5
RGBrgb(121, 96, 245)
HSLhsl(250, 88%, 67%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(50.6%, 60.8%, 0%, 3.9%)
CIE-LABlab(50.71, 47.28, -71.65)
CIE-LCHlch(50.71, 85.85, 303.42°)
OKLaboklab(59.5% 0.0574 -0.2053)
OKLCHoklch(59.5% 0.213 285.6)
XYZxyz(28.5446, 19.0218, 88.5360)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960F5 #DCF560
analogous
#6092F5 #7960F5 #C460F5
triadic
#7960F5 #F57960 #60F579
tetradic
#7960F5 #F56092 #DCF560 #60F5C4
square
#7960F5 #F56092 #DCF560 #60F5C4
split-complementary
#7960F5 #F5C460 #92F560
monochromatic
#2D0DCE #4826F1 #7960F5 #AA9AF9 #DAD3FC

Accessibility & contrast

On white

4.37
#7960F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7960F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960F5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960F5#FFFFFF#000000##000000
##7960F51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#4A83A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7960f5;
/* rgb */ color: rgb(121, 96, 245);
/* oklch */ color: oklch(59.5% 0.213 285.6);
Tailwind
colors: {
  custom: {
    50: '#a98ef9',
    500: '#7960f5',
    950: '#000000',
  },
}
SCSS
$custom: #7960f5;
$custom-light: #a98ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7960f5",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 250.067,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.21319,
    "h": 285.6
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#7960F5
secondary
#E8F0C1
accent
#E501BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7960F5

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

Preview Lab → · Contrast checker → · Palette generator →

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