#7960EA#7960EA

#7960EA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.199 H 286.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7960EA
RGBrgb(121, 96, 234)
HSLhsl(251, 77%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(48.3%, 59%, 0%, 8.2%)
CIE-LABlab(49.94, 44.11, -66.74)
CIE-LCHlch(49.94, 80.00, 303.46°)
OKLaboklab(58.69% 0.0579 -0.1909)
OKLCHoklch(58.69% 0.199 286.9)
XYZxyz(26.9150, 18.3700, 79.9535)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960EA #D1EA60
analogous
#608CEA #7960EA #BE60EA
triadic
#7960EA #EA7960 #60EA79
tetradic
#7960EA #EA608C #D1EA60 #60EABE
square
#7960EA #EA608C #D1EA60 #60EABE
split-complementary
#7960EA #EABE60 #8CEA60
monochromatic
#3518B7 #4B2AE3 #7960EA #A796F1 #D4CCF8

Accessibility & contrast

On white

4.49
#7960EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7960EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960EA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960EA#FFFFFF#000000##000000
##7960EA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#52809C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7960ea;
/* rgb */ color: rgb(121, 96, 234);
/* oklch */ color: oklch(58.7% 0.199 286.9);
Tailwind
colors: {
  custom: {
    50: '#a78ef2',
    500: '#7960ea',
    950: '#000000',
  },
}
SCSS
$custom: #7960ea;
$custom-light: #a78ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7960ea",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 250.87,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.19948,
    "h": 286.9
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#7960EA
secondary
#E2EBBB
accent
#D90DB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7960EA

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

Preview Lab → · Contrast checker → · Palette generator →

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