#7960BE#7960BE

#7960BE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.142 H 293.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7960BE
RGBrgb(121, 96, 190)
HSLhsl(256, 42%, 56%)
HSVhsv(256, 49%, 75%)
CMYKcmyk(36.3%, 49.5%, 0%, 25.5%)
CIE-LABlab(47.17, 31.71, -46.10)
CIE-LCHlch(47.17, 55.96, 304.52°)
OKLaboklab(55.75% 0.0567 -0.1302)
OKLCHoklch(55.75% 0.142 293.5)
XYZxyz(21.3599, 16.1479, 50.6967)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960BE #A5BE60
analogous
#6076BE #7960BE #A860BE
triadic
#7960BE #BE7960 #60BE79
tetradic
#7960BE #BE6076 #A5BE60 #60BEA8
square
#7960BE #BE6076 #A5BE60 #60BEA8
split-complementary
#7960BE #BEA860 #76BE60
monochromatic
#422F74 #5A41A0 #7960BE #9E8BD0 #C2B7E2

Accessibility & contrast

On white

4.97
#7960BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7960BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7960BE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960BE#FFFFFF#000000##FFFFFF
##7960BE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#687386
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7960be;
/* rgb */ color: rgb(121, 96, 190);
/* oklch */ color: oklch(55.7% 0.142 293.5);
Tailwind
colors: {
  custom: {
    50: '#a38dd2',
    500: '#7960be',
    950: '#000000',
  },
}
SCSS
$custom: #7960be;
$custom-light: #a38dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7960be",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 190
  },
  "hsl": {
    "h": 255.957,
    "s": 41.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.14205,
    "h": 293.5
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#7960BE
secondary
#C6D0A9
accent
#D256B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7960BE

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

Preview Lab → · Contrast checker → · Palette generator →

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