#7960DF#7960DF

#7960DF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.185 H 288.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7960DF
RGBrgb(121, 96, 223)
HSLhsl(252, 66%, 63%)
HSVhsv(252, 57%, 87%)
CMYKcmyk(45.7%, 57%, 0%, 12.5%)
CIE-LABlab(49.20, 40.95, -61.74)
CIE-LCHlch(49.20, 74.08, 303.56°)
OKLaboklab(57.91% 0.0581 -0.1762)
OKLCHoklch(57.91% 0.186 288.3)
XYZxyz(25.3835, 17.7574, 71.8878)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960DF #C6DF60
analogous
#6087DF #7960DF #B860DF
triadic
#7960DF #DF7960 #60DF79
tetradic
#7960DF #DF6087 #C6DF60 #60DFB8
square
#7960DF #DF6087 #C6DF60 #60DFB8
split-complementary
#7960DF #DFB860 #87DF60
monochromatic
#3B21A4 #4E2DD5 #7960DF #A493E9 #CFC6F4

Accessibility & contrast

On white

4.61
#7960DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7960DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7960DF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960DF#FFFFFF#000000##FFFFFF
##7960DF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0478E3
Deuteranopia (green-blind)
#0972DC
Tritanopia (blue-blind)
#597C96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7960df;
/* rgb */ color: rgb(121, 96, 223);
/* oklch */ color: oklch(57.9% 0.185 288.3);
Tailwind
colors: {
  custom: {
    50: '#a68eea',
    500: '#7960df',
    950: '#000000',
  },
}
SCSS
$custom: #7960df;
$custom-light: #a68eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7960df",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 251.811,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.1855,
    "h": 288.3
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#7960DF
secondary
#DBE4B6
accent
#CE17AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7960DF

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

Preview Lab → · Contrast checker → · Palette generator →

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