#7964DA#7964DA

#7964DA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.2% C 0.173 H 288.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7964DA
RGBrgb(121, 100, 218)
HSLhsl(251, 61%, 62%)
HSVhsv(251, 54%, 85%)
CMYKcmyk(44.5%, 54.1%, 0%, 14.5%)
CIE-LABlab(49.79, 37.20, -57.96)
CIE-LCHlch(49.79, 68.87, 302.69°)
OKLaboklab(58.24% 0.0535 -0.165)
OKLCHoklch(58.24% 0.173 288)
XYZxyz(25.0936, 18.2403, 68.5146)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964DA #C5DA64
analogous
#648ADA #7964DA #B464DA
triadic
#7964DA #DA7964 #64DA79
tetradic
#7964DA #DA648A #C5DA64 #64DAB4
square
#7964DA #DA648A #C5DA64 #64DAB4
split-complementary
#7964DA #DAB464 #8ADA64
monochromatic
#3B269E #4E33CE #7964DA #A495E6 #CEC7F2

Accessibility & contrast

On white

4.52
#7964DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7964DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964DA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964DA#FFFFFF#000000##000000
##7964DA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2679DE
Deuteranopia (green-blind)
#2773D7
Tritanopia (blue-blind)
#5B7E95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7964da;
/* rgb */ color: rgb(121, 100, 218);
/* oklch */ color: oklch(58.2% 0.173 288.0);
Tailwind
colors: {
  custom: {
    50: '#a590e6',
    500: '#7964da',
    950: '#000000',
  },
}
SCSS
$custom: #7964da;
$custom-light: #a590e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7964da",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 250.678,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.17349,
    "h": 288
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#7964DA
secondary
#DBE2B7
accent
#C91CAA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7964DA

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

Preview Lab → · Contrast checker → · Palette generator →

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