#7960FA#7960FA

#7960FA is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.9% C 0.219 H 285.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7960FA
RGBrgb(121, 96, 250)
HSLhsl(250, 94%, 68%)
HSVhsv(250, 62%, 98%)
CMYKcmyk(51.6%, 61.6%, 0%, 2%)
CIE-LABlab(51.07, 48.73, -73.85)
CIE-LCHlch(51.07, 88.48, 303.42°)
OKLaboklab(59.87% 0.057 -0.2118)
OKLCHoklch(59.87% 0.219 285.1)
XYZxyz(29.3182, 19.3313, 92.6104)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960FA #E1FA60
analogous
#6094FA #7960FA #C660FA
triadic
#7960FA #FA7960 #60FA79
tetradic
#7960FA #FA6094 #E1FA60 #60FAC6
square
#7960FA #FA6094 #E1FA60 #60FAC6
split-complementary
#7960FA #FAC660 #94FA60
monochromatic
#2907D9 #4725F8 #7960FA #AB9BFC #DDD7FE

Accessibility & contrast

On white

4.32
#7960FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7960FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960FA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960FA#FFFFFF#000000##000000
##7960FA1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F7
Tritanopia (blue-blind)
#4585A4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7960fa;
/* rgb */ color: rgb(121, 96, 250);
/* oklch */ color: oklch(59.9% 0.219 285.1);
Tailwind
colors: {
  custom: {
    50: '#a98efd',
    500: '#7960fa',
    950: '#000000',
  },
}
SCSS
$custom: #7960fa;
$custom-light: #a98efd;
$custom-dark: #000000;
JSON
{
  "hex": "#7960fa",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 249.74,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.21934,
    "h": 285.1
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#7960FA
secondary
#EBF3C3
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7960FA

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

Preview Lab → · Contrast checker → · Palette generator →

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