#7964DC#7964DC

#7964DC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.176 H 287.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7964DC
RGBrgb(121, 100, 220)
HSLhsl(251, 63%, 63%)
HSVhsv(251, 55%, 86%)
CMYKcmyk(45%, 54.5%, 0%, 13.7%)
CIE-LABlab(49.91, 37.77, -58.89)
CIE-LCHlch(49.91, 69.96, 302.67°)
OKLaboklab(58.37% 0.0536 -0.1678)
OKLCHoklch(58.37% 0.176 287.7)
XYZxyz(25.3569, 18.3456, 69.9013)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964DC #C7DC64
analogous
#648BDC #7964DC #B564DC
triadic
#7964DC #DC7964 #64DC79
tetradic
#7964DC #DC648B #C7DC64 #64DCB5
square
#7964DC #DC648B #C7DC64 #64DCB5
split-complementary
#7964DC #DCB564 #8BDC64
monochromatic
#3A24A1 #4E32D1 #7964DC #A496E7 #CFC8F3

Accessibility & contrast

On white

4.50
#7964DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7964DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964DC#FFFFFF#000000##000000
##7964DC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE0
Deuteranopia (green-blind)
#2374D9
Tritanopia (blue-blind)
#5A7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7964dc;
/* rgb */ color: rgb(121, 100, 220);
/* oklch */ color: oklch(58.4% 0.176 287.7);
Tailwind
colors: {
  custom: {
    50: '#a691e8',
    500: '#7964dc',
    950: '#000000',
  },
}
SCSS
$custom: #7964dc;
$custom-light: #a691e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7964dc",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 250.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.17612,
    "h": 287.7
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#7964DC
secondary
#DCE4B8
accent
#CB1BAC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7964DC

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

Preview Lab → · Contrast checker → · Palette generator →

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