#7960EB#7960EB

#7960EB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.8% C 0.201 H 286.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7960EB
RGBrgb(121, 96, 235)
HSLhsl(251, 78%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(48.5%, 59.1%, 0%, 7.8%)
CIE-LABlab(50.01, 44.39, -67.19)
CIE-LCHlch(50.01, 80.53, 303.45°)
OKLaboklab(58.76% 0.0579 -0.1922)
OKLCHoklch(58.76% 0.201 286.8)
XYZxyz(27.0590, 18.4276, 80.7123)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960EB #D2EB60
analogous
#608DEB #7960EB #BE60EB
triadic
#7960EB #EB7960 #60EB79
tetradic
#7960EB #EB608D #D2EB60 #60EBBE
square
#7960EB #EB608D #D2EB60 #60EBBE
split-complementary
#7960EB #EBBE60 #8DEB60
monochromatic
#3417B9 #4B2AE4 #7960EB #A796F2 #D5CDF9

Accessibility & contrast

On white

4.48
#7960EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7960EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960EB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960EB#FFFFFF#000000##000000
##7960EB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#51809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7960eb;
/* rgb */ color: rgb(121, 96, 235);
/* oklch */ color: oklch(58.8% 0.201 286.8);
Tailwind
colors: {
  custom: {
    50: '#a88ef2',
    500: '#7960eb',
    950: '#000000',
  },
}
SCSS
$custom: #7960eb;
$custom-light: #a88ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7960eb",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 250.791,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.20073,
    "h": 286.8
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#7960EB
secondary
#E3EBBC
accent
#DA0CB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7960EB

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

Preview Lab → · Contrast checker → · Palette generator →

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