#7964BC#7964BC

#7964BC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.4% C 0.133 H 292.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7964BC
RGBrgb(121, 100, 188)
HSLhsl(254, 40%, 56%)
HSVhsv(254, 47%, 74%)
CMYKcmyk(35.6%, 46.8%, 0%, 26.3%)
CIE-LABlab(48.02, 28.79, -43.59)
CIE-LCHlch(48.02, 52.24, 303.44°)
OKLaboklab(56.35% 0.0511 -0.1229)
OKLCHoklch(56.35% 0.133 292.6)
XYZxyz(21.5171, 16.8097, 49.6781)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964BC #A7BC64
analogous
#647BBC #7964BC #A564BC
triadic
#7964BC #BC7964 #64BC79
tetradic
#7964BC #BC647B #A7BC64 #64BCA5
square
#7964BC #BC647B #A7BC64 #64BCA5
split-complementary
#7964BC #BCA564 #7BBC64
monochromatic
#423274 #5A449E #7964BC #9E8FCE #C3B9E1

Accessibility & contrast

On white

4.81
#7964BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7964BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7964BC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964BC#FFFFFF#000000##FFFFFF
##7964BC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#697587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7964bc;
/* rgb */ color: rgb(121, 100, 188);
/* oklch */ color: oklch(56.4% 0.133 292.6);
Tailwind
colors: {
  custom: {
    50: '#a390d0',
    500: '#7964bc',
    950: '#000000',
  },
}
SCSS
$custom: #7964bc;
$custom-light: #a390d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7964bc",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 254.318,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.13312,
    "h": 292.6
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#7964BC
secondary
#C7D0AC
accent
#D058B3
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7964BC

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

Preview Lab → · Contrast checker → · Palette generator →

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