#7960E8#7960E8

#7960E8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.197 H 287.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7960E8
RGBrgb(121, 96, 232)
HSLhsl(251, 75%, 64%)
HSVhsv(251, 59%, 91%)
CMYKcmyk(47.8%, 58.6%, 0%, 9%)
CIE-LABlab(49.80, 43.53, -65.84)
CIE-LCHlch(49.80, 78.93, 303.47°)
OKLaboklab(58.55% 0.058 -0.1882)
OKLCHoklch(58.55% 0.197 287.1)
XYZxyz(26.6293, 18.2557, 78.4489)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960E8 #CFE860
analogous
#608BE8 #7960E8 #BD60E8
triadic
#7960E8 #E87960 #60E879
tetradic
#7960E8 #E8608B #CFE860 #60E8BD
square
#7960E8 #E8608B #CFE860 #60E8BD
split-complementary
#7960E8 #E8BD60 #8BE860
monochromatic
#361AB4 #4C2BE0 #7960E8 #A695F0 #D3CBF7

Accessibility & contrast

On white

4.51
#7960E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7960E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960E8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960E8#FFFFFF#000000##000000
##7960E81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#537F9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7960e8;
/* rgb */ color: rgb(121, 96, 232);
/* oklch */ color: oklch(58.5% 0.197 287.1);
Tailwind
colors: {
  custom: {
    50: '#a78ef0',
    500: '#7960e8',
    950: '#000000',
  },
}
SCSS
$custom: #7960e8;
$custom-light: #a78ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7960e8",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 251.029,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.19695,
    "h": 287.1
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#7960E8
secondary
#E1E9BA
accent
#D70FB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7960E8

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

Preview Lab → · Contrast checker → · Palette generator →

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