#7964DF#7964DF

#7964DF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.180 H 287.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7964DF
RGBrgb(121, 100, 223)
HSLhsl(250, 66%, 63%)
HSVhsv(250, 55%, 87%)
CMYKcmyk(45.7%, 55.2%, 0%, 12.5%)
CIE-LABlab(50.10, 38.63, -60.28)
CIE-LCHlch(50.10, 71.60, 302.66°)
OKLaboklab(58.58% 0.0536 -0.1719)
OKLCHoklch(58.58% 0.18 287.3)
XYZxyz(25.7578, 18.5059, 72.0126)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964DF #CADF64
analogous
#648CDF #7964DF #B664DF
triadic
#7964DF #DF7964 #64DF79
tetradic
#7964DF #DF648C #CADF64 #64DFB6
square
#7964DF #DF648C #CADF64 #64DFB6
split-complementary
#7964DF #DFB664 #8CDF64
monochromatic
#3922A6 #4D31D5 #7964DF #A597E9 #D1C9F4

Accessibility & contrast

On white

4.47
#7964DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7964DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964DF#FFFFFF#000000##000000
##7964DF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE3
Deuteranopia (green-blind)
#1C74DC
Tritanopia (blue-blind)
#587F98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7964df;
/* rgb */ color: rgb(121, 100, 223);
/* oklch */ color: oklch(58.6% 0.180 287.3);
Tailwind
colors: {
  custom: {
    50: '#a691ea',
    500: '#7964df',
    950: '#000000',
  },
}
SCSS
$custom: #7964df;
$custom-light: #a691ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7964df",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 250.244,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.18004,
    "h": 287.3
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#7964DF
secondary
#DEE5B9
accent
#CE18AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7964DF

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

Preview Lab → · Contrast checker → · Palette generator →

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