#7960FC#7960FC

#7960FC is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 60.0% C 0.222 H 284.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7960FC
RGBrgb(121, 96, 252)
HSLhsl(250, 96%, 68%)
HSVhsv(250, 62%, 99%)
CMYKcmyk(52%, 61.9%, 0%, 1.2%)
CIE-LABlab(51.22, 49.31, -74.73)
CIE-LCHlch(51.22, 89.53, 303.42°)
OKLaboklab(60.02% 0.0569 -0.2144)
OKLCHoklch(60.02% 0.222 284.9)
XYZxyz(29.6334, 19.4574, 94.2708)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960FC #E3FC60
analogous
#6095FC #7960FC #C760FC
triadic
#7960FC #FC7960 #60FC79
tetradic
#7960FC #FC6095 #E3FC60 #60FCC7
square
#7960FC #FC6095 #E3FC60 #60FCC7
split-complementary
#7960FC #FCC760 #95FC60
monochromatic
#2704DD #4624FB #7960FC #AC9CFD #DED8FE

Accessibility & contrast

On white

4.29
#7960FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7960FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960FC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960FC#FFFFFF#000000##000000
##7960FC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#4486A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7960fc;
/* rgb */ color: rgb(121, 96, 252);
/* oklch */ color: oklch(60.0% 0.222 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa8efe',
    500: '#7960fc',
    950: '#000000',
  },
}
SCSS
$custom: #7960fc;
$custom-light: #aa8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#7960fc",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 252
  },
  "hsl": {
    "h": 249.615,
    "s": 96.296,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60025,
    "c": 0.22179,
    "h": 284.9
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#7960FC
secondary
#ECF4C4
accent
#E600C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7960FC

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

Preview Lab → · Contrast checker → · Palette generator →

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