#7964F2#7964F2

#7964F2 is a mid, highly saturated blue. Relative luminance 0.196; OKLCH L 59.9% C 0.204 H 285.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7964F2
RGBrgb(121, 100, 242)
HSLhsl(249, 85%, 67%)
HSVhsv(249, 59%, 95%)
CMYKcmyk(50%, 58.7%, 0%, 5.1%)
CIE-LABlab(51.37, 44.14, -68.91)
CIE-LCHlch(51.37, 81.84, 302.64°)
OKLaboklab(59.91% 0.0535 -0.1973)
OKLCHoklch(59.91% 0.204 285.2)
XYZxyz(28.4646, 19.5887, 86.2683)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964F2 #DDF264
analogous
#6496F2 #7964F2 #C064F2
triadic
#7964F2 #F27964 #64F279
tetradic
#7964F2 #F26496 #DDF264 #64F2C0
square
#7964F2 #F26496 #DDF264 #64F2C0
split-complementary
#7964F2 #F2C064 #96F264
monochromatic
#2C11CB #482CED #7964F2 #AA9CF7 #DBD5FB

Accessibility & contrast

On white

4.27
#7964F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7964F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964F2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964F2#FFFFFF#000000##000000
##7964F21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#4C85A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7964f2;
/* rgb */ color: rgb(121, 100, 242);
/* oklch */ color: oklch(59.9% 0.204 285.2);
Tailwind
colors: {
  custom: {
    50: '#a891f7',
    500: '#7964f2',
    950: '#000000',
  },
}
SCSS
$custom: #7964f2;
$custom-light: #a891f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7964f2",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 248.873,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59912,
    "c": 0.20438,
    "h": 285.2
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#7964F2
secondary
#E9EFC2
accent
#E105C0
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7964F2

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

Preview Lab → · Contrast checker → · Palette generator →

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