#7960CE#7960CE

#7960CE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.163 H 290.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7960CE
RGBrgb(121, 96, 206)
HSLhsl(254, 53%, 59%)
HSVhsv(254, 53%, 81%)
CMYKcmyk(41.3%, 53.4%, 0%, 19.2%)
CIE-LABlab(48.12, 36.14, -53.80)
CIE-LCHlch(48.12, 64.81, 303.89°)
OKLaboklab(56.76% 0.0578 -0.1528)
OKLCHoklch(56.76% 0.163 290.7)
XYZxyz(23.2055, 16.8862, 60.4173)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960CE #B5CE60
analogous
#607ECE #7960CE #B060CE
triadic
#7960CE #CE7960 #60CE79
tetradic
#7960CE #CE607E #B5CE60 #60CEB0
square
#7960CE #CE607E #B5CE60 #60CEB0
split-complementary
#7960CE #CEB060 #7ECE60
monochromatic
#402A89 #5639B8 #7960CE #A08FDC #C8BEEB

Accessibility & contrast

On white

4.80
#7960CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7960CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7960CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960CE#FFFFFF#000000##FFFFFF
##7960CE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#61778E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7960ce;
/* rgb */ color: rgb(121, 96, 206);
/* oklch */ color: oklch(56.8% 0.163 290.7);
Tailwind
colors: {
  custom: {
    50: '#a48ede',
    500: '#7960ce',
    950: '#000000',
  },
}
SCSS
$custom: #7960ce;
$custom-light: #a48ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7960ce",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 206
  },
  "hsl": {
    "h": 253.636,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.16341,
    "h": 290.7
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#7960CE
secondary
#D1DAAF
accent
#DC4CBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7960CE

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

Preview Lab → · Contrast checker → · Palette generator →

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