#7964E4#7964E4

#7964E4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.9% C 0.187 H 286.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7964E4
RGBrgb(121, 100, 228)
HSLhsl(250, 70%, 64%)
HSVhsv(250, 56%, 89%)
CMYKcmyk(46.9%, 56.1%, 0%, 10.6%)
CIE-LABlab(50.43, 40.07, -62.58)
CIE-LCHlch(50.43, 74.31, 302.63°)
OKLaboklab(58.92% 0.0537 -0.1786)
OKLCHoklch(58.92% 0.187 286.7)
XYZxyz(26.4418, 18.7796, 75.6153)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964E4 #CFE464
analogous
#648FE4 #7964E4 #B964E4
triadic
#7964E4 #E47964 #64E479
tetradic
#7964E4 #E4648F #CFE464 #64E4B9
square
#7964E4 #E4648F #CFE464 #64E4B9
split-complementary
#7964E4 #E4B964 #8FE464
monochromatic
#361FAF #4C30DB #7964E4 #A698ED #D3CCF6

Accessibility & contrast

On white

4.42
#7964E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7964E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964E4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964E4#FFFFFF#000000##000000
##7964E41.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7BE8
Deuteranopia (green-blind)
#0A74E1
Tritanopia (blue-blind)
#55819A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7964e4;
/* rgb */ color: rgb(121, 100, 228);
/* oklch */ color: oklch(58.9% 0.187 286.7);
Tailwind
colors: {
  custom: {
    50: '#a791ed',
    500: '#7964e4',
    950: '#000000',
  },
}
SCSS
$custom: #7964e4;
$custom-light: #a791ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7964e4",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 249.844,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5892,
    "c": 0.18652,
    "h": 286.7
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#7964E4
secondary
#E1E8BC
accent
#D213B3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D16
muted
#7F7D84

Preview Lab

Preview with #7964E4

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

Preview Lab → · Contrast checker → · Palette generator →

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