#7960BC#7960BC

#7960BC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.6% C 0.139 H 293.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7960BC
RGBrgb(121, 96, 188)
HSLhsl(256, 41%, 56%)
HSVhsv(256, 49%, 74%)
CMYKcmyk(35.6%, 48.9%, 0%, 26.3%)
CIE-LABlab(47.05, 31.17, -45.12)
CIE-LCHlch(47.05, 54.84, 304.63°)
OKLaboklab(55.63% 0.0565 -0.1274)
OKLCHoklch(55.63% 0.139 293.9)
XYZxyz(21.1428, 16.0611, 49.5534)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960BC #A3BC60
analogous
#6075BC #7960BC #A760BC
triadic
#7960BC #BC7960 #60BC79
tetradic
#7960BC #BC6075 #A3BC60 #60BCA7
square
#7960BC #BC6075 #A3BC60 #60BCA7
split-complementary
#7960BC #BCA760 #75BC60
monochromatic
#423072 #5B429D #7960BC #9D8BCE #C2B6E0

Accessibility & contrast

On white

4.99
#7960BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7960BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7960BC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960BC#FFFFFF#000000##FFFFFF
##7960BC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F71BF
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#697285
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7960bc;
/* rgb */ color: rgb(121, 96, 188);
/* oklch */ color: oklch(55.6% 0.139 293.9);
Tailwind
colors: {
  custom: {
    50: '#a38dd1',
    500: '#7960bc',
    950: '#000000',
  },
}
SCSS
$custom: #7960bc;
$custom-light: #a38dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7960bc",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 256.304,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.13935,
    "h": 293.9
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#7960BC
secondary
#C5CFA9
accent
#D157B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7960BC

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

Preview Lab → · Contrast checker → · Palette generator →

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