#7964CA#7964CA

#7964CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.2% C 0.152 H 290.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7964CA
RGBrgb(121, 100, 202)
HSLhsl(252, 49%, 59%)
HSVhsv(252, 50%, 79%)
CMYKcmyk(40.1%, 50.5%, 0%, 20.8%)
CIE-LABlab(48.81, 32.66, -50.39)
CIE-LCHlch(48.81, 60.05, 302.95°)
OKLaboklab(57.2% 0.0526 -0.1428)
OKLCHoklch(57.2% 0.152 290.2)
XYZxyz(23.1001, 17.4429, 58.0154)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964CA #B5CA64
analogous
#6482CA #7964CA #AC64CA
triadic
#7964CA #CA7964 #64CA79
tetradic
#7964CA #CA6482 #B5CA64 #64CAAC
square
#7964CA #CA6482 #B5CA64 #64CAAC
split-complementary
#7964CA #CAAC64 #82CA64
monochromatic
#402E86 #563DB3 #7964CA #A092DA #C8BFE9

Accessibility & contrast

On white

4.68
#7964CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7964CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7964CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964CA#FFFFFF#000000##FFFFFF
##7964CA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#63798E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7964ca;
/* rgb */ color: rgb(121, 100, 202);
/* oklch */ color: oklch(57.2% 0.152 290.2);
Tailwind
colors: {
  custom: {
    50: '#a490db',
    500: '#7964ca',
    950: '#000000',
  },
}
SCSS
$custom: #7964ca;
$custom-light: #a490db;
$custom-dark: #000000;
JSON
{
  "hex": "#7964ca",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 252.353,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.1522,
    "h": 290.2
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#7964CA
secondary
#D1D9B1
accent
#D94FBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7964CA

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

Preview Lab → · Contrast checker → · Palette generator →

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