#7960F6#7960F6

#7960F6 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.214 H 285.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7960F6
RGBrgb(121, 96, 246)
HSLhsl(250, 89%, 67%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(50.8%, 61%, 0%, 3.5%)
CIE-LABlab(50.78, 47.57, -72.09)
CIE-LCHlch(50.78, 86.37, 303.42°)
OKLaboklab(59.57% 0.0573 -0.2066)
OKLCHoklch(59.57% 0.214 285.5)
XYZxyz(28.6976, 19.0830, 89.3422)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960F6 #DDF660
analogous
#6092F6 #7960F6 #C460F6
triadic
#7960F6 #F67960 #60F679
tetradic
#7960F6 #F66092 #DDF660 #60F6C4
square
#7960F6 #F66092 #DDF660 #60F6C4
split-complementary
#7960F6 #F6C460 #92F660
monochromatic
#2C0CD0 #4826F3 #7960F6 #AA9AF9 #DBD4FD

Accessibility & contrast

On white

4.36
#7960F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7960F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960F6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960F6#FFFFFF#000000##000000
##7960F61.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#4984A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7960f6;
/* rgb */ color: rgb(121, 96, 246);
/* oklch */ color: oklch(59.6% 0.214 285.5);
Tailwind
colors: {
  custom: {
    50: '#a98efa',
    500: '#7960f6',
    950: '#000000',
  },
}
SCSS
$custom: #7960f6;
$custom-light: #a98efa;
$custom-dark: #000000;
JSON
{
  "hex": "#7960f6",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 250,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.21442,
    "h": 285.5
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#7960F6
secondary
#E9F1C1
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7960F6

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

Preview Lab → · Contrast checker → · Palette generator →

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