#7964DB#7964DB

#7964DB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.3% C 0.175 H 287.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7964DB
RGBrgb(121, 100, 219)
HSLhsl(251, 62%, 63%)
HSVhsv(251, 54%, 86%)
CMYKcmyk(44.7%, 54.3%, 0%, 14.1%)
CIE-LABlab(49.85, 37.48, -58.43)
CIE-LCHlch(49.85, 69.42, 302.68°)
OKLaboklab(58.31% 0.0535 -0.1664)
OKLCHoklch(58.31% 0.175 287.8)
XYZxyz(25.2249, 18.2928, 69.2059)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964DB #C6DB64
analogous
#648BDB #7964DB #B464DB
triadic
#7964DB #DB7964 #64DB79
tetradic
#7964DB #DB648B #C6DB64 #64DBB4
square
#7964DB #DB648B #C6DB64 #64DBB4
split-complementary
#7964DB #DBB464 #8BDB64
monochromatic
#3B25A0 #4E32CF #7964DB #A496E7 #CFC7F2

Accessibility & contrast

On white

4.51
#7964DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7964DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964DB#FFFFFF#000000##000000
##7964DB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DF
Deuteranopia (green-blind)
#2573D8
Tritanopia (blue-blind)
#5B7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7964db;
/* rgb */ color: rgb(121, 100, 219);
/* oklch */ color: oklch(58.3% 0.175 287.8);
Tailwind
colors: {
  custom: {
    50: '#a690e7',
    500: '#7964db',
    950: '#000000',
  },
}
SCSS
$custom: #7964db;
$custom-light: #a690e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7964db",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 250.588,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.17481,
    "h": 287.8
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#7964DB
secondary
#DBE3B8
accent
#CA1BAB
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7964DB

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

Preview Lab → · Contrast checker → · Palette generator →

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