#7960F8#7960F8

#7960F8 is a mid, highly saturated blue. Relative luminance 0.192; OKLCH L 59.7% C 0.217 H 285.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7960F8
RGBrgb(121, 96, 248)
HSLhsl(250, 92%, 67%)
HSVhsv(250, 61%, 97%)
CMYKcmyk(51.2%, 61.3%, 0%, 2.7%)
CIE-LABlab(50.93, 48.15, -72.97)
CIE-LCHlch(50.93, 87.43, 303.42°)
OKLaboklab(59.72% 0.0572 -0.2092)
OKLCHoklch(59.72% 0.217 285.3)
XYZxyz(29.0062, 19.2065, 90.9676)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7960F8 #DFF860
analogous
#6093F8 #7960F8 #C560F8
triadic
#7960F8 #F87960 #60F879
tetradic
#7960F8 #F86093 #DFF860 #60F8C5
square
#7960F8 #F86093 #DFF860 #60F8C5
split-complementary
#7960F8 #F8C560 #93F860
monochromatic
#2B09D4 #4825F5 #7960F8 #AA9BFB #DCD5FD

Accessibility & contrast

On white

4.34
#7960F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7960F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7960F8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7960F8#FFFFFF#000000##000000
##7960F81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#4784A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7960f8;
/* rgb */ color: rgb(121, 96, 248);
/* oklch */ color: oklch(59.7% 0.217 285.3);
Tailwind
colors: {
  custom: {
    50: '#a98efc',
    500: '#7960f8',
    950: '#000000',
  },
}
SCSS
$custom: #7960f8;
$custom-light: #a98efc;
$custom-dark: #000000;
JSON
{
  "hex": "#7960f8",
  "rgb": {
    "r": 121,
    "g": 96,
    "b": 248
  },
  "hsl": {
    "h": 249.868,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.21689,
    "h": 285.3
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7960F8

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

Preview Lab → · Contrast checker → · Palette generator →

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