#7960EF#7960EF

#7960EF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.206 H 286.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7960EF
RGBrgb(121, 96, 239)
HSLhsl(250, 82%, 66%)
HSVhsv(250, 60%, 94%)
CMYKcmyk(49.4%, 59.8%, 0%, 6.3%)
CIE-LABlab(50.29, 45.55, -68.99)
CIE-LCHlch(50.29, 82.67, 303.43°)
OKLaboklab(59.05% 0.0577 -0.1975)
OKLCHoklch(59.05% 0.206 286.3)
XYZxyz(27.6434, 18.6614, 83.7900)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960EF #D6EF60
analogous
#608EEF #7960EF #C160EF
triadic
#7960EF #EF7960 #60EF79
tetradic
#7960EF #EF608E #D6EF60 #60EFC1
square
#7960EF #EF608E #D6EF60 #60EFC1
split-complementary
#7960EF #EFC160 #8EEF60
monochromatic
#3213C1 #4A28E9 #7960EF #A898F5 #D7CFFA

Accessibility & contrast

On white

4.44
#7960EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7960EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960EF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960EF#FFFFFF#000000##000000
##7960EF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#4E819E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7960ef;
/* rgb */ color: rgb(121, 96, 239);
/* oklch */ color: oklch(59.1% 0.206 286.3);
Tailwind
colors: {
  custom: {
    50: '#a88ef5',
    500: '#7960ef',
    950: '#000000',
  },
}
SCSS
$custom: #7960ef;
$custom-light: #a88ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7960ef",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 250.49,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.20574,
    "h": 286.3
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#7960EF
secondary
#E5EDBE
accent
#DE07B9
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7960EF

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

Preview Lab → · Contrast checker → · Palette generator →

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