#7960F2#7960F2

#7960F2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.3% C 0.209 H 285.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7960F2
RGBrgb(121, 96, 242)
HSLhsl(250, 85%, 66%)
HSVhsv(250, 60%, 95%)
CMYKcmyk(50%, 60.3%, 0%, 5.1%)
CIE-LABlab(50.50, 46.41, -70.32)
CIE-LCHlch(50.50, 84.26, 303.43°)
OKLaboklab(59.28% 0.0575 -0.2014)
OKLCHoklch(59.28% 0.209 285.9)
XYZxyz(28.0903, 18.8401, 86.1436)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960F2 #D9F260
analogous
#6090F2 #7960F2 #C260F2
triadic
#7960F2 #F27960 #60F279
tetradic
#7960F2 #F26090 #D9F260 #60F2C2
square
#7960F2 #F26090 #D9F260 #60F2C2
split-complementary
#7960F2 #F2C260 #90F260
monochromatic
#3010C7 #4927ED #7960F2 #A999F7 #D8D1FB

Accessibility & contrast

On white

4.40
#7960F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7960F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960F2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960F2#FFFFFF#000000##000000
##7960F21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#4C82A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7960f2;
/* rgb */ color: rgb(121, 96, 242);
/* oklch */ color: oklch(59.3% 0.209 285.9);
Tailwind
colors: {
  custom: {
    50: '#a88ef7',
    500: '#7960f2',
    950: '#000000',
  },
}
SCSS
$custom: #7960f2;
$custom-light: #a88ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7960f2",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 250.274,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.20948,
    "h": 285.9
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#7960F2
secondary
#E7EFBF
accent
#E104BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7960F2

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

Preview Lab → · Contrast checker → · Palette generator →

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