#7960BB#7960BB

#7960BB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.138 H 294.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7960BB
RGBrgb(121, 96, 187)
HSLhsl(256, 40%, 55%)
HSVhsv(256, 49%, 73%)
CMYKcmyk(35.3%, 48.7%, 0%, 26.7%)
CIE-LABlab(47.00, 30.90, -44.63)
CIE-LCHlch(47.00, 54.28, 304.69°)
OKLaboklab(55.57% 0.0564 -0.1259)
OKLCHoklch(55.57% 0.138 294.1)
XYZxyz(21.0354, 16.0181, 48.9876)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960BB #A2BB60
analogous
#6074BB #7960BB #A760BB
triadic
#7960BB #BB7960 #60BB79
tetradic
#7960BB #BB6074 #A2BB60 #60BBA7
square
#7960BB #BB6074 #A2BB60 #60BBA7
split-complementary
#7960BB #BBA760 #74BB60
monochromatic
#423070 #5B429B #7960BB #9D8BCD #C1B6E0

Accessibility & contrast

On white

5.00
#7960BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7960BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7960BB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960BB#FFFFFF#000000##FFFFFF
##7960BB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#697285
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7960bb;
/* rgb */ color: rgb(121, 96, 187);
/* oklch */ color: oklch(55.6% 0.138 294.1);
Tailwind
colors: {
  custom: {
    50: '#a38dd0',
    500: '#7960bb',
    950: '#000000',
  },
}
SCSS
$custom: #7960bb;
$custom-light: #a38dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7960bb",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 256.484,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.13799,
    "h": 294.1
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

primary
#7960BB
secondary
#C4CEA8
accent
#D058AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7960BB

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

Preview Lab → · Contrast checker → · Palette generator →

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