#7964FE#7964FE

#7964FE is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.8% C 0.219 H 284.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7964FE
RGBrgb(121, 100, 254)
HSLhsl(248, 99%, 69%)
HSVhsv(248, 61%, 100%)
CMYKcmyk(52.4%, 60.6%, 0%, 0.4%)
CIE-LABlab(52.21, 47.64, -74.22)
CIE-LCHlch(52.21, 88.20, 302.70°)
OKLaboklab(60.8% 0.0529 -0.2129)
OKLCHoklch(60.8% 0.219 284)
XYZxyz(30.3263, 20.3334, 96.0735)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964FE #E9FE64
analogous
#649CFE #7964FE #C664FE
triadic
#7964FE #FE7964 #64FE79
tetradic
#7964FE #FE649C #E9FE64 #64FEC6
square
#7964FE #FE649C #E9FE64 #64FEC6
split-complementary
#7964FE #FEC664 #9CFE64
monochromatic
#2101E6 #4427FE #7964FE #AEA1FE #E2DEFF

Accessibility & contrast

On white

4.14
#7964FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7964FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964FE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964FE#FFFFFF#000000##000000
##7964FE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#4189A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7964fe;
/* rgb */ color: rgb(121, 100, 254);
/* oklch */ color: oklch(60.8% 0.219 284.0);
Tailwind
colors: {
  custom: {
    50: '#aa91ff',
    500: '#7964fe',
    950: '#000000',
  },
}
SCSS
$custom: #7964fe;
$custom-light: #aa91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7964fe",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 248.182,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.21935,
    "h": 284
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#7964FE
secondary
#EFF5C9
accent
#E600C6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7964FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7964FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva